Hi, guys!!!
I have a stupid question…How can I draw and render the objects (players, for example) on minimal distance of my char? Sorry, this question…I will try explain better. I have a player and when I enter in town (for, example) I just want draw, render and calculate the vert of the objects that are close of my char. Any method that cant I remember?
Thx and sorry for this…
hunter
Minimal distance?
Do you already have the characters created, in memory, and attached to the SceneGraph? Then they would just be drawn automagically when you are close (in-frustum) to them.
If they are loaded but not attached, just attach them to the Scene and that would make them visible.
If the y are not created, then first load them into memory (from a model file for instance) and then work your way up.
Have I nailed your question yet?
duenez, i don't want to argue
but i think that what he means is how to process only the "stuff" around the player. that would mean that the "stuff" is already loaded.
Well even though your point seems valid, he did say:
draw, render and calculate the vert
which, if it is already loaded and attached to the scene, you don't need to do anything to process them, specially calculating the vertices. On the other hand, it is very possible that he means logically close to the player. For instance if I want to generate some objects near the player for future rendering/drawing.
I think the point we agree on is that we need more info :wink:
P.S. Are going to start a new hijacking tradition to argue on one another's threads? :D
duenez said:
P.S. Are going to start a new hijacking tradition to argue on one another's threads? :D
no. i don't do that anymore.