Search found 15 matches

by StargateSG1
Sun Sep 05, 2004 10:08 am
Forum: Beginners Help
Topic: Adding texture to cube
Replies: 17
Views: 12698

Ok, thanks arras :D
by StargateSG1
Sat Sep 04, 2004 4:59 pm
Forum: Beginners Help
Topic: Adding texture to cube
Replies: 17
Views: 12698

OK, but when I add a texture to cube in anim8or then will it be added inside the model file or not? If I remember correct, it was not added into the model file so I have to load it "externally" via node->setMaterialTexture(). Or does the model file store the coordinates of the texture(UV m...
by StargateSG1
Sat Sep 04, 2004 2:38 pm
Forum: Beginners Help
Topic: Adding texture to cube
Replies: 17
Views: 12698

arras: Man, you made it quite clear. Thanks :D I'll take a look at those programs. afecelis: The cube is made in anim8or and exported to .3ds. It seems to be impossible to create box with driver->draw3dBox() and add texture to it. The problem is that I have very small knowledge of 3d modeling tools.
by StargateSG1
Sat Sep 04, 2004 9:12 am
Forum: Beginners Help
Topic: Adding texture to cube
Replies: 17
Views: 12698

Could somebody please help me, I am making a GTA2 like top down game... I want to add a texture to only on the top of the cube. So it looks like only a texture. Why I want it? Because there are no functions to rotate textures by given degree. However, it is possible with 3D objects. One way is to ma...
by StargateSG1
Fri Sep 03, 2004 8:21 pm
Forum: Beginners Help
Topic: Adding texture to cube
Replies: 17
Views: 12698

Umm... sorry but what's that :oops:
by StargateSG1
Fri Sep 03, 2004 8:00 pm
Forum: Beginners Help
Topic: Adding texture to cube
Replies: 17
Views: 12698

Adding texture to cube

Hi,

How to add texture to only one side of a cube model?
by StargateSG1
Fri Aug 27, 2004 8:30 pm
Forum: Beginners Help
Topic: 3ds model without colours
Replies: 0
Views: 351

3ds model without colours

I have a model that is made in anim8or and exported to .3ds.
The model has been added colours(and not texture) in anim8or, but when I draw it, it appears just white :?

The lighting is off and no texture has been appended.

What's wrong?
by StargateSG1
Fri Aug 27, 2004 11:03 am
Forum: Beginners Help
Topic: 3D world coordinates
Replies: 5
Views: 490

Ok thanks for the answers.

It just seems confusing that the (0, 0, 0) is somewhere in the middle of the world because then you have to mess with the negative numbers and so. It's just confusing.

Now I'll make it the start of the world.
by StargateSG1
Thu Aug 26, 2004 4:29 pm
Forum: Beginners Help
Topic: 3D world coordinates
Replies: 5
Views: 490

Oh, and what is the biggest number the camera coord could be?
by StargateSG1
Thu Aug 26, 2004 4:10 pm
Forum: Beginners Help
Topic: 3D world coordinates
Replies: 5
Views: 490

3D world coordinates

Hi, I am making a GTA2 like game and I am very confused of the 3D world coordinate system. I think weather is it a good idea to make the world start from (0, 0, 0) and end lets say at (1000, -1000, 0)? And not make the world so that (0, 0, 0) is the center of the map? I hope you understand what I me...
by StargateSG1
Mon Aug 23, 2004 12:04 pm
Forum: Beginners Help
Topic: drawing 2d rectangles
Replies: 5
Views: 518

However the documentation says for SColor() alpha value that:

The alpha component defines how transparent a color should be. 0 means not transparent(so it's opque and is fully seen on screen), 255 means fully transparent(unseen).

Are the docs lieing :roll:
by StargateSG1
Sun Aug 22, 2004 4:46 pm
Forum: Beginners Help
Topic: How to rotate 2D texture?
Replies: 7
Views: 1465

Now that's a cool idea 8)
by StargateSG1
Sun Aug 22, 2004 4:31 pm
Forum: Beginners Help
Topic: How to rotate 2D texture?
Replies: 7
Views: 1465

Well I am thinking of creating a top down game like GTA1 or GTA2. And the rotation is necessary for cars and human. I thought it would be easier to draw everything as textures first and later(as a second project) create the whole game world as a 3D. But if there are no texture rotating functions the...
by StargateSG1
Sun Aug 22, 2004 3:24 pm
Forum: Beginners Help
Topic: How to rotate 2D texture?
Replies: 7
Views: 1465

Too bad... I have no idea how to make the FlipTexture() to rotate the texture by a give degree :?

But is there some way to do it with the help of 3D. I mean something like draw a cube and apply a texture to it. And then how do I rotate the cube?
by StargateSG1
Sun Aug 22, 2004 2:09 pm
Forum: Beginners Help
Topic: How to rotate 2D texture?
Replies: 7
Views: 1465

How to rotate 2D texture?

How do I rotate a 2D texture? I looked in the docs but couldn't find any functions for that.