[3D Programming] Pro command suggestions

Got an idea for enhancing PureBasic? New command(s) you'd like to see?
Olby
Enthusiast
Enthusiast
Posts: 461
Joined: Mon Jan 12, 2009 10:33 am
Contact:

[3D Programming] Pro command suggestions

Post by Olby »

Can we please have these 3d programming commands considered:

after calling RayPick():
normx.f = PickNormalX()
normy.f = PickNormalY()
normz.f = PickNormalZ()

to do rag-doll entities or other "manual animation":
EntitySetBonePitch(#Entity, Bone$, Pitch)
EntitySetBoneRoll(#Entity, Bone$, Roll)
EntitySetBoneYaw(#Entity, Bone$, Yaw)
EntitySetBoneX(#Entity, Bone$, X)
EntitySetBoneY(#Entity, Bone$, Y)
EntitySetBoneZ(#Entity, Bone$, Z)

to play correct sound effect based on material type (i.e. brick, metal, glass etc.) - to do so we need to know either material texture name (in case of GetScriptMaterial()) or TextureID() in situations when material was created in PB:
texture_id = GetMaterialTextureID(#Material, [Layer])
texture_name$ = GetMaterialTextureName(#Material, [Layer])

3D library looks more and more appealing to game developers and I'm currently thinking of rewriting my FPS engine in PB :!:
Hopefully we can have at least some of these commands (preferably pick normals) in PB sooner than later, I can't see any good quality 3D games made without these commands. Thanks very much.
Last edited by Olby on Mon Oct 15, 2012 1:27 pm, edited 1 time in total.
Intel Core i7 Quad 2.3 Ghz, 8GB RAM, GeForce GT 630M 2GB, Windows 10 (x64)
Fred
Administrator
Administrator
Posts: 18162
Joined: Fri May 17, 2002 4:39 pm
Location: France
Contact:

Re: [3D Programming] Pro command suggestions

Post by Fred »

Thanks for your constructive input, we will look at it.
Olby
Enthusiast
Enthusiast
Posts: 461
Joined: Mon Jan 12, 2009 10:33 am
Contact:

Re: [3D Programming] Pro command suggestions

Post by Olby »

Thanks Fred, I appreciate your time.
Intel Core i7 Quad 2.3 Ghz, 8GB RAM, GeForce GT 630M 2GB, Windows 10 (x64)
Post Reply