|
|
|
|
|
|
| |
| |
|
|
|
|
| |
| |
|
|
Hi,
I've decided to work on a little OpenGL game of mine again and this time I
decided to do a remake of the Gobbler game in which you have a snake that eats
chunks of food and grows and goes faster and you must not hit anything... I
hope you get the picture...
Anyway, I would like to have a rendered snake in my game and I would animate the
snake with an animated texture in OpenGL consisiting of a number of different
images (ie not a gif... but many pngs!)
My problem is that I haven't program with povray for a long while and I became a
bit rusted over the time... I was wondering what were my best bet to make a
curve in a cylinder and also curve the texture along the way... I've tried using
Chris' Bend include file, but it doesn't seem to work nice, or I haven't
mastered it for this use...
Anyway, maybe there might be easier ways to do this, basically I would need 4
kind of images:
The head
The Tail
The Body
A curve in Body
The snake should only turn 90 angles...
A :
| +--+ |
+--+ | |
+-----+
See what I mean?
I will start making the game core right away and will put simple graphics as for
those four things (Probably just letters, for now...)...
As soon as it looks good, I should upload pictures of in-game play, since the
textures should all be rendered with POV-Ray I believe this might be good for
pov.bin.images!
Thanks for any suggestion,
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
|
|
| |
| |
|
|
|
|
| |
| |
|
|
Hi Simon!
You say that your game is an OpenGL game. I know almost nothing about OpenGL
but I thought it was a real-time polygon rendering engine or something like
that. Have I got it all wrong?
However, you say that you want the graphics to be rendered in POV-Ray
indicating that you intent to use prerendered graphics for the game, and
indeed the images posted in povray.binaries.images also indicate this, as
they seem very 2D-like.
So I'm not quite sure if you want both the objects and the textures to be
rendered in POV-Ray, or if you only want to render the textures in POV-Ray
and do the objects in OpenGL.
Chances are I have just misunderstood the whole thing caused by my ignorance
in this matter. Either way, I might be better able to help you if you
explain a little more clear what you want to do.
Rune
--
3D images and anims, include files, tutorials and more:
Rune's World: http://rsj.mobilixnet.dk (updated May 10)
POV-Ray Users: http://rsj.mobilixnet.dk/povrayusers/
POV-Ray Webring: http://webring.povray.co.uk
Post a reply to this message
|
|
| |
| |
|
|
|
|
| |
| |
|
|
> You say that your game is an OpenGL game. I know almost nothing about OpenGL
> but I thought it was a real-time polygon rendering engine or something like
> that. Have I got it all wrong?
You are perfectly right!
> However, you say that you want the graphics to be rendered in POV-Ray
> indicating that you intent to use prerendered graphics for the game, and
> indeed the images posted in povray.binaries.images also indicate this, as
> they seem very 2D-like.
>
> So I'm not quite sure if you want both the objects and the textures to be
> rendered in POV-Ray, or if you only want to render the textures in POV-Ray
> and do the objects in OpenGL.
>
> Chances are I have just misunderstood the whole thing caused by my ignorance
> in this matter. Either way, I might be better able to help you if you
> explain a little more clear what you want to do.
I might not have explained myself as clear I should have...
The polygons that make the snake are actualy squares with a plane texture on it.
The textures are images that should be rendered with POV-Ray or as for now I've
done them with GIMP, but I hope to replace them very soon! ;)
I don't need the POV-Ray 3D object unless of course I have to render it myself,
but otherwise all I need are images (Specially in RGBA PNG).
Since I'm not trying to hire anybody around, I agree to make my own images, but
I'm not as good in POV-Ray as in OpenGL so I would need help to make them look
good!
I hope I have settled things quite correctly, feel free to ask any other
questions!
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
|
|
| |
| |
|
|
|
|
| |
|
|