POV-Ray : Newsgroups : povray.newusers : Curve surfaces for glGobbler Server Time
28 Nov 2024 05:40:47 EST (-0500)
  Curve surfaces for glGobbler (Message 1 to 6 of 6)  
From: Simon Lemieux
Subject: Curve surfaces for glGobbler
Date: 6 Jun 2001 16:25:09
Message: <3B1E92E4.212A99C7@yahoo.com>
Okay, I'll probably finish this game all in one night as usual.  At least for
gameplay and interface.  Then I'll work out with the sounds...

But I've been trying to make a good POV-Ray snake, and all I could do is the
head after a few hours of play with the blob, then I tried adding the body with
blobed cylinders and it would never give the results I would like to...

I think I'll try making a straight snake then cut it into pieces and curve these
parts using Chris' bend #include file...

But I was wondering as for tricks hints, since I was thinking on animating it,
for the movement, and other things like when it eats a chunk of food, or when it
crashes on a rock (I thought about making the snake go Inside-out and eat itself
when it collision with something, so it Never stops moving and you don't see it
clearly when it loses some length unit in the process ;)...

Any documentation or tutorial for making such kind of object would be very
appreciated!

Thanks,
  Simon

-- 
||  'How do you know I'm mad?' said Alice.
||  'You must be,' said the Cat, 'or you wouldn't have come here.'
--
 Simon Lemieux  (lem### [at] yahoocom)


Post a reply to this message

From: ingo
Subject: Re: Curve surfaces for glGobbler
Date: 6 Jun 2001 17:06:20
Message: <Xns90B8EB0C435EDseed7@povray.org>
in news:3B1E92E4.212A99C7@yahoo.com Simon Lemieux wrote:

> Any documentation or tutorial for making such kind of object would
> be very appreciated!
> 

For modeling the snake you could have a look at Striscia
http://members.nbci.com/dvarrazzo/

Ingo

-- 
Photography: http://members.home.nl/ingoogni/
Pov-Ray    : http://members.home.nl/seed7/


Post a reply to this message

From: Simon Lemieux
Subject: Re: Curve surfaces for glGobbler
Date: 6 Jun 2001 19:06:22
Message: <3B1EB8AF.FF77EA7E@yahoo.com>
> For modeling the snake you could have a look at Striscia
> http://members.nbci.com/dvarrazzo/

A spline editor, sounds good to me, although, I will have to animate the snake
in movement, it talked about a "path" line, could I move this line with simple
sinusoidal look?

Thanks!

-- 
||  'How do you know I'm mad?' said Alice.
||  'You must be,' said the Cat, 'or you wouldn't have come here.'
--
 Simon Lemieux  (lem### [at] yahoocom)


Post a reply to this message

From: ingo
Subject: Re: Curve surfaces for glGobbler
Date: 7 Jun 2001 04:03:29
Message: <Xns90B96650F9A70seed7@povray.org>
in news:3B1EB8AF.FF77EA7E@yahoo.com Simon Lemieux wrote:

> it talked about a "path" line, could I move this line with simple
> sinusoidal look?

You'll probably need to build a macro that generates the path.


Ingo

-- 
Photography: http://members.home.nl/ingoogni/
Pov-Ray    : http://members.home.nl/seed7/


Post a reply to this message

From: Simon Lemieux
Subject: Re: Curve surfaces for glGobbler
Date: 7 Jun 2001 08:37:13
Message: <3B1F76C1.AB3A436@yahoo.com>
ingo wrote:
> 
> in news:3B1EB8AF.FF77EA7E@yahoo.com Simon Lemieux wrote:
> 
> > it talked about a "path" line, could I move this line with simple
> > sinusoidal look?
> 
> You'll probably need to build a macro that generates the path.

Unfortunately, I've been trying to access the sambles and download page but
netscape crashes everytime I load that site...  Odd...  I'll have to go with
plain old Lynx!

Ok, so it's possible, can it also curve an object following this path line?
Because I really think making a straight snake will be easy and very nice (well,
easy, you know...)...  

Thanks!

-- 
||  'How do you know I'm mad?' said Alice.
||  'You must be,' said the Cat, 'or you wouldn't have come here.'
--
 Simon Lemieux  (lem### [at] yahoocom)


Post a reply to this message

From: Chris Colefax
Subject: Re: Curve surfaces for glGobbler
Date: 8 Jun 2001 01:29:13
Message: <3b2062a9@news.povray.org>
"Simon Lemieux" <lem### [at] yahoocom> wrote:
> Okay, I'll probably finish this game all in one night as usual.  At least
for
> gameplay and interface.  Then I'll work out with the sounds...
>
> But I've been trying to make a good POV-Ray snake, and all I could do is
the
> head after a few hours of play with the blob, then I tried adding the body
with
> blobed cylinders and it would never give the results I would like to...
>
> I think I'll try making a straight snake then cut it into pieces and curve
these
> parts using Chris' bend #include file...
>
> But I was wondering as for tricks hints, since I was thinking on animating
it,
> for the movement, and other things like when it eats a chunk of food, or
when it
> crashes on a rock (I thought about making the snake go Inside-out and eat
itself
> when it collision with something, so it Never stops moving and you don't
see it
> clearly when it loses some length unit in the process ;)...
>
> Any documentation or tutorial for making such kind of object would be very
> appreciated!

The Object Bender will allow you to (relatively) smoothly bend/twist your
object and its texture, no matter how you construct it.  As an alternative,
though, the Spline Macro File might give you (literally!) more flexibility:

   http://www.geocities.com/ccolefax/spline/

You should be able to create a blob spline object that gives a very smooth
surface, blending the texture as it follows the snake's body (and please
feel free to email any questions or cries for help...).


Post a reply to this message

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