Welcome, Guest. Please login or register.

Login with username, password and session length

 
Advanced search

11855 Posts in 1569 Topics- by 3054 Members - Latest Member: Ljustin770

11. February 2012, 12:01:30 PM
Xith3D CommunityGeneral CategorySupport (Moderator: Marvin Fröhlich)"correct" way to manipulate Geometry of a Shape3D ?
Pages: [1]
Print
Author Topic: "correct" way to manipulate Geometry of a Shape3D ?  (Read 525 times)
ttwwttww
Enjoying the stay
*
Offline Offline

Posts: 35


View Profile
« on: 30. November 2008, 03:38:33 PM »

Hi,

I'm trying to manipulate the TriangleArray of a Shape3D (e.g moving one triangle vertex).

Directly after the initialisation this works, but inside of an Updatable.update() call (via the RenderLoop)  it destroys the object...

There are a few calls (e.g update(), setDirty()), but they didn't work.

Any tips ?

Thanks,
  Thomas
Logged
ozborn
Just dropped in

Offline Offline

Posts: 10


View Profile Email
« Reply #1 on: 30. November 2008, 05:58:58 PM »

What do you mean it is being destroyed? Does it disappear? Set to null?

 -John
Logged
ttwwttww
Enjoying the stay
*
Offline Offline

Posts: 35


View Profile
« Reply #2 on: 30. November 2008, 07:05:38 PM »

Ops, it works, there was another fragment of test code.

Sorry for the post...

Logged
Pages: [1]
Print
Jump to:  

Theme orange-lt created by panic