Sorry your browser is not supported!

You are using an outdated browser that does not support modern web technologies, in order to use this site please update to a new browser.

Browsers supported include Chrome, FireFox, Safari, Opera, Internet Explorer 10+ or Microsoft Edge.

Newcomers DBPro Corner / quick question about plains

Author
Message
AramusM
20
Years of Service
User Offline
Joined: 6th Dec 2003
Location:
Posted: 30th Dec 2003 22:53 Edited at: 31st Dec 2003 02:14
Why every time i create a plain with

make object plain 1,100,100

do the z cords come out +/- 0.000004?

50.000000;50.000000;-0.000004;,
-50.000000;50.000000;0.000004;,
50.000000;-50.000000;-0.000004;,
-50.000000;50.000000;0.000004;,
-50.000000;-50.000000;0.000004;,
50.000000;-50.000000;-0.000004;;

as if the plain had been rotated ever so slightly.

I was going to tile a few plains together to mess around with different effects. But with this slight rotation i would get a horrible seam between tiles.

I was playing with memblocks at the time and was trying to teach myself how to use them, but i kept getting strange results for the z value of the verts. so i printed mesh to a file and it showed the z values above.

here is the code i used to look at the memblock data for the mesh

AramusM
20
Years of Service
User Offline
Joined: 6th Dec 2003
Location:
Posted: 31st Dec 2003 17:57
Hmm, every time i make a plain am i going to have to make a memblock from it and set the z cords to 0 so i can tile them without getting seams?
IanM
Retired Moderator
22
Years of Service
User Offline
Joined: 11th Sep 2002
Location: In my moon base
Posted: 31st Dec 2003 18:11
Is it really noticable?

I used tiled plains in my trailblazer clone with no visible effect.

For free Plug-ins, source and the DBPro Interface library for Visual C++ 6 and .NET
http://www.matrix1.demon.co.uk
AramusM
20
Years of Service
User Offline
Joined: 6th Dec 2003
Location:
Posted: 31st Dec 2003 21:53
Not really unless you are zoomed right in at a join. But why does it create it slightly rotated. When you create a cube its not rotated. It prolly just me being picky but i would have prefered it flat to the x/y or z plain when i create it.

Login to post a reply

Server time is: 2024-09-21 13:49:31
Your offset time is: 2024-09-21 13:49:31