POV-Ray : Newsgroups : povray.binaries.images : MyMaglev: C++ automation (almost) finished Server Time
5 Nov 2024 11:18:52 EST (-0500)
  MyMaglev: C++ automation (almost) finished (Message 1 to 5 of 5)  
From: Jörg 'Yadgar' Bleimann
Subject: MyMaglev: C++ automation (almost) finished
Date: 2 Jul 2009 20:22:06
Message: <4a4d4f2e@news.povray.org>
High!

As announced, I wrote a C++ routine to generate animated camera rides 
along the tracks of the developing MyMaglev Personal Rail Cabin 
System... the program (details see p.b.s-f) runs quite well, except for 
some odd artifact, probably a coincident surfaces issue (see attached 
images).

Currently, I hardly have an idea why these black squares show up... it 
seems to have something to do with the CSG construction of the ground 
cutouts!

See you in Khyberspace!

Yadgar


Post a reply to this message


Attachments:
Download 'cabinrailway_new4_101.png' (27 KB) Download 'cabinrailway_new4_309.png' (21 KB)

Preview of image 'cabinrailway_new4_101.png'
cabinrailway_new4_101.png

Preview of image 'cabinrailway_new4_309.png'
cabinrailway_new4_309.png


 

From: Alain
Subject: Re: MyMaglev: C++ automation (almost) finished
Date: 4 Jul 2009 10:56:24
Message: <4a4f6d98@news.povray.org>

> High!
> 
> As announced, I wrote a C++ routine to generate animated camera rides 
> along the tracks of the developing MyMaglev Personal Rail Cabin 
> System... the program (details see p.b.s-f) runs quite well, except for 
> some odd artifact, probably a coincident surfaces issue (see attached 
> images).
> 
> Currently, I hardly have an idea why these black squares show up... it 
> seems to have something to do with the CSG construction of the ground 
> cutouts!
> 
> See you in Khyberspace!
> 
> Yadgar
> 
> ------------------------------------------------------------------------
> 
> 
> ------------------------------------------------------------------------
> 
How do you model the grove in the track? Is it a difference? If so, make 
the cutting object red, ambient 0.5. Does the problems areas turn red?


Alain


Post a reply to this message

From: Jörg 'Yadgar' Bleimann
Subject: Re: MyMaglev: C++ automation (almost) finished
Date: 5 Jul 2009 09:14:51
Message: <4a50a74b@news.povray.org>
High!

Alain wrote:

> How do you model the grove in the track? Is it a difference? If so, make 
> the cutting object red, ambient 0.5. Does the problems areas turn red?

No, the whole track profile is a lathe object! When I removed the ground 
plane with the cutout, the black squares disappeared, but another 
strange effect showed up (see attached images). In the oblique view it 
looks as the side parts of the track profile extend much further than 
its bottom, although the overhead view shows that this is not the 
case... strange!

See you in Khyberspace!

Yadgar


Post a reply to this message


Attachments:
Download '2009-07-05 port whatmough personal rail cabin system test track, take 1.jpg' (13 KB) Download '2009-07-05 port whatmough personal rail cabin system test track, take 2.jpg' (13 KB)

Preview of image '2009-07-05 port whatmough personal rail cabin system test track, take 1.jpg'
2009-07-05 port whatmough personal rail cabin system test track, take 1.jpg

Preview of image '2009-07-05 port whatmough personal rail cabin system test track, take 2.jpg'
2009-07-05 port whatmough personal rail cabin system test track, take 2.jpg


 

From: Alain
Subject: Re: MyMaglev: C++ automation (almost) finished
Date: 5 Jul 2009 15:46:37
Message: <4a51031d@news.povray.org>

> High!
> 
> Alain wrote:
> 
>> How do you model the grove in the track? Is it a difference? If so, 
>> make the cutting object red, ambient 0.5. Does the problems areas turn 
>> red?
> 
> No, the whole track profile is a lathe object! When I removed the ground 
> plane with the cutout, the black squares disappeared, but another 
> strange effect showed up (see attached images). In the oblique view it 
> looks as the side parts of the track profile extend much further than 
> its bottom, although the overhead view shows that this is not the 
> case... strange!
> 
> See you in Khyberspace!
> 
> Yadgar
> 
> ------------------------------------------------------------------------
> 
> 
> ------------------------------------------------------------------------
> 
It looks like the botton is to low. Look closely at the top view. there 
is a gap near the end of the track
Try a lateral view.


Alain


Post a reply to this message


Attachments:
Download '2009-07-05 port whatmough personal rail cabin system test track, take 2.jpg' (5 KB)

Preview of image '2009-07-05 port whatmough personal rail cabin system test track, take 2.jpg'
2009-07-05 port whatmough personal rail cabin system test track, take 2.jpg


 

From: Jörg 'Yadgar' Bleimann
Subject: Re: MyMaglev: C++ automation (almost) finished
Date: 6 Jul 2009 05:13:57
Message: <4a51c055$1@news.povray.org>
High!



> No, the whole track profile is a lathe object! When I removed the ground 
> plane with the cutout, the black squares disappeared, but another 
> strange effect showed up (see attached images). In the oblique view it 
> looks as the side parts of the track profile extend much further than 
> its bottom, although the overhead view shows that this is not the 
> case... strange!

Obviously it is because the profile contains a hollow shaped like an 
upside-down "T" (which was intended!), so that the vertical side parts 
do not connect with the ground immediately.

The black squares disappeared when I corrected my original precaution 
against coincident surfaces problems: in the cutout definition, I 
originally rotated the subtracting box 0.0001 degrees more than given in 
the angle parameter from the segment definition file, but forgot that in 
case of a left turn this tiny amount must be subtracted from the 
original value rather than added!

     object
     {
       Bend_Subtraction_Block
       #if (ang >=0)
         rotate y*(ang+0.0001)
       #else
         rotate y*(ang-0.0001)
       #end
     }

See you in Khyberspace!

Yadgar

Now playing: To The Shore (Duran Duran)


Post a reply to this message

Copyright 2003-2023 Persistence of Vision Raytracer Pty. Ltd.