please delete

Advanced game related topics
mp303

Post by mp303 »

To reiterate: I do not WANT to change the field of vision - just the drawing distance.

And no, these parameters are NOT related - yes, they both affect the number of triangles that get drawn, since obviously a more narrow field of vision covers a smaller number of triangles, but it's not a function you can use for optimization, which is what I'm after.

Is that clear enough, finally? :wink:
LJ
Enthusiast
Enthusiast
Posts: 177
Joined: Wed Apr 30, 2003 4:00 pm

Hmmm...

Post by LJ »

I'm not going to show you how to optimize the mesh and FPS using the distance and the FOV parameters, don't have the time. Suffice to say, keep your camera low to the ground and tweak the FOV to optimize the fps. Nuff said.
LJ
Enthusiast
Enthusiast
Posts: 177
Joined: Wed Apr 30, 2003 4:00 pm

Over 650!!

Post by LJ »

Over 650 views of this message thread with 2 problems. Again, nice work Fred and PB team.
coma
Enthusiast
Enthusiast
Posts: 164
Joined: Fri Aug 15, 2003 3:46 am
Location: Canada

Post by coma »

there's a lot of people (like me) who click on the post, just to have the "No new posts" icon :D

Concerning this post, I have exactly the same errors than LarsG, for both programs (Suuuuuuper Terrain and SkyDome).
I have a Riva TNT too. So, may be it's a problem with Nvidia cards ?

(3 problems on 670 views, still a very good percentage...)
mp303

Re: Hmmm...

Post by mp303 »

LJ wrote:I'm not going to show you how to optimize the mesh and FPS using the distance and the FOV parameters, don't have the time. Suffice to say, keep your camera low to the ground and tweak the FOV to optimize the fps. Nuff said.
Guess I have to repeat myself again: I do not want to change the FOV.

Altering the FOV will affect the number of triangles that get drawn, I already told you I know this, but is not a way to optimize the FPS - altering the FOV affects the perspective of the drawing, which will make nearer/closer objects seems larger/smaller (or give the impression that the viewer is larger/smaller), which, as said, is not what I want.

If you don't have a solution (and I don't think there is one at the moment, because the commands just aren't exposed in PB), don't waste your breath - or in this case, your bytes :wink:
LJ
Enthusiast
Enthusiast
Posts: 177
Joined: Wed Apr 30, 2003 4:00 pm

Coma

Post by LJ »

@coma,

Let's make sure Fred knows about this bug eh? There should be a message thread in the Bug reports section that Lars started I think. Please copy and post your message there also so Fred and Purebasic team can see.
LJ
Enthusiast
Enthusiast
Posts: 177
Joined: Wed Apr 30, 2003 4:00 pm

mp303

Post by LJ »

@mp303

You write:
"altering the FOV affects the perspective of the drawing, which will make nearer/closer objects seems larger/smaller (or give the impression that the viewer is larger/smaller), which, as said, is not what I want."

Sure if you do something dumb like just changing the FOV and nothing else. But if also have the variable of camera distance to tweak.

I once wrote a 3D walk through program for a local artist that was an art gallery with her pictures hanging on the wall. FPS was an issue. By controlling the FOV and camera distance (height and distance from the object), I was able to tweak the FPS just right.

What you need to do is not only change the FOV, but the distance the camera is from the object you are viewing. If you don't alter the camera distance, or raise the FOV too much or too little, then yes, you get an unwanted larger/smaller effect.

Finally, I want to see you helping out others and being a little nicer. Until I see that, future messages from you will be ignored.
Post Reply