E-mail
Password
Login
Forgot your password?
Register
Please Login/Register for download.
LOGIN
REGISTER NOW
flare
showcase
download
support
contact
blog
buy
showcase
FORUM
WIKI
API
Login / Sign In
Actions
Login
SignUp
Recent topics
how to make f3d files???
Link in 3d map
Exporter to .f3d
HTML5 version
Android app - Image Searc...
getChildByName with "save...
FLSL Error Codes / Warnin...
Lil' Smash - 3D Tennis Ga...
Links
API Documentation
Wiki
Forum
»
General Category
»
Engine Library
»
Edit Plane surface vertexVector, not rendered
Author
Topic: Edit Plane surface vertexVector, not rendered (Read 117 times)
Edit Plane surface vertexVector, not rendered
Timothy Generoe
«
on:
October 21, 2011, 01:25:45 AM »
I used the displacement-map-example for this one. I want to see how fast flare can change the plane-mesh and render it.
I added a Timer, 1000ms.
In the TimerEvent-handler, I apply the "createTerrain" function from the example.
The mesh does not change shape.
I tried to do "draw()" and "updateTransforms()" on the Plane, but it does not change shape.
How do I tell the renderer to update the shape?
Edit Plane surface vertexVector, not rendered
Timothy Generoe
«
Reply #1 on:
October 25, 2011, 08:19:48 PM »
It can't be that difficult a question...
Edit Plane surface vertexVector, not rendered
Ariel Nehmad
«
Reply #2 on:
October 26, 2011, 07:20:36 AM »
Hi Timothy, are you changing the texture each time you call to createTerrain? or are you using random values?
because otherwise, you'll get always the same terrain.
Edit Plane surface vertexVector, not rendered
Timothy Generoe
«
Reply #3 on:
October 26, 2011, 06:36:05 PM »
Good question
No, I actually use a different bitmap each time.
Edit Plane surface vertexVector, not rendered
Timothy Generoe
«
Reply #4 on:
October 30, 2011, 07:49:05 PM »
So I'm doing this totally the wrong way or nobody is updating the mesh dynamically?
Pages: [
1
]
Forum
»
General Category
»
Engine Library
»
Edit Plane surface vertexVector, not rendered