- Forums
- Forum Help
- Search Forum
- Login
- Register
Truevision3D
>>
TV3D SDK
>>
TV3D SDK 6.5
>>
Bugs
>>
[OK]GetVertex no BUG
Pages: [
1
]
« previous
next »
Print
Author
Topic: [OK]GetVertex no BUG (Read 233 times)
lovetv3d
Community Member
Posts: 100
[OK]GetVertex no BUG
«
on:
May 30, 2008, 12:10:05 PM »
Mesh.GetVertex (Get X Y Z)
Mesh.SetRotation Mesh.GetRotation.x, Mesh.GetRotation.y + 0.1, Mesh.GetRotation.z
Mesh.update
Mesh.GetVertex (Get X Y Z)
There is no change
«
Last Edit: May 30, 2008, 07:41:08 PM by lovetv3d
»
Logged
Sorry for poor English
SylvainTV
Administrator
Community Member
Posts: 4479
Re: GetVertex BUG
«
Reply #1 on:
May 30, 2008, 03:05:38 PM »
It's not a bug
GetVertex returns vertex position in local space.
SetRotation only changes the matrix of the mesh.
If you want the rotation to have an effect on the vertices, you have to multiply the vector from GetVertex by the mesh matrix (mesh.GetMatrix)
MathLibrary TVVec3TransformCoord resultVector, sourceVector, Mesh.getMAtrix
Logged
Regards
Sylvain Dupont
TrueVision3D Developer
sylvain@truevision3d.com
TV3D IRC at
http://chat.truevision3d.com
or on server irc.truevision3d.com #Truevision3D. Come talk with us !
Pages: [
1
]
Print
« previous
next »
Jump to:
Please select a destination:
-----------------------------
Truevision3D Official Information
-----------------------------
=> News and Announcements
=> Development Information
-----------------------------
TV3D SDK
-----------------------------
=> TV3D SDK 6.3
===> Bugs
=> TV3D SDK 6.5
===> Bugs
===> Content Pipeline
===> Shader Development
-----------------------------
Projects
-----------------------------
=> Announcements
=> In-Development
=> Showcase
=> Recruitment
-----------------------------
Game Development
-----------------------------
=> Engine Comparison
=> Game Development
=> Companion Tools
=> Design and Theory
Powered by SMF 1.1.3
|
SMF © 2006-2007, Simple Machines LLC
Seo4Smf v0.2 © Webmaster's Talks