Friendlyskies AoI Forum

You are not logged in.

Announcement

#1 January 29, 2010, 8:14 pm

helge-h
Platinum Member
From: Norway
Registered: December 31, 2009,
Posts: 70
Reputation :   

Texturing the VW beetle

Here's a render with some of the texturing in place:

http://www.friendlyskies.net/aoiforum/uploads/thumbs/557_vw-57.jpg

The air-intakes on the engine hood are just textures, not geometry. Here's the top texture:

http://www.friendlyskies.net/aoiforum/uploads/thumbs/557_vw-texture1.gif

The calculations are a bit cryptic; I found that the top stripes are between x = 1.19 and 1.29, and the top expression and curve parts places them there. Using x - y will rotate the stripes 45 degrees. The bottom expression makes all the stripes; subtracting x/2 makes the stripes progressively slanted towards the edges, and the curve (periodic) is the shape of each hole/metal. The Greater Than 0.5 makes the hole transparent.

The bottom texture:

http://www.friendlyskies.net/aoiforum/uploads/thumbs/557_vw-texture2.gif

This is a similar texture, but it is horisontal instead of vertical, and there's an extra limiting function to make four separate sections.

The two textures are applied to the appropriate polygons:

http://www.friendlyskies.net/aoiforum/uploads/thumbs/557_vw-polys.gif

It's not entirely correct, but good enough for me.

H

Last edited by helge-h (April 9, 2010, 11:41 am)

Offline

 

#2 January 30, 2010, 2:24 am

peteihis
42
From: Tampere, Finland
Registered: March 22, 2006,
Posts: 1231
Reputation :   11 
Website

Re: Texturing the VW beetle

jump


...there's more to the picture than meets the eye...

Offline

 

#3 January 30, 2010, 3:36 am

Vidiot
2000 posts? Insane.
From: Hamburg
Registered: November 3, 2004,
Posts: 2019
Reputation :   

Re: Texturing the VW beetle

That´s still magic to me.
What education or drugs do I need to figure that out? big_smile
I hope I can learn something here. (I try)

(I still need UVs)

Well done!

Last edited by Vidiot (January 30, 2010, 3:44 am)


Don´t start chasing rainbows - get caught by them.
Deutsches Portal für Art of Illusion

Offline

 

#4 January 30, 2010, 7:22 am

helge-h
Platinum Member
From: Norway
Registered: December 31, 2009,
Posts: 70
Reputation :   

Re: Texturing the VW beetle

Well, normally it isn't an advantage to be a geek, but in this case it is. (No drugs. Just Earl Grey tea. I'm not sure that helps, though.) And I have done some images with POV-Ray, and that is entirely done with programming, as you may know. (There are some really geeky people over there, they scare even me.)

UV textures are great, especially for low-poly models, but here it didn't work for me. I quite like the per-face/vertex method with layered textures in AoI. I thought about using that on the whole model; with projected images on all sides, but that required too many and too large images, making it too "heavy" to work with. (I guess being lazy also helps; you figure out complex ways of doing things instead of doing some real work.)

H

Offline

 

#5 January 31, 2010, 7:29 pm

helge-h
Platinum Member
From: Norway
Registered: December 31, 2009,
Posts: 70
Reputation :   

Re: Texturing the VW beetle

I had planned to make the beetle rather old and worn, but the render times get too long for my liking, so I'll keep it shiny. (Unfortunately this makes this thread obsolete; sorry about that.)

There are a few things to keep in mind when working with textures, as I found out:

Do not delete any texture that is applied to an object, this will result in an unreadable object the next time the file is opened. With large projects this is a laborious task, I wish AoI would check if a texture is in use and give a warning.

It's a good idea to apply the right kind of texture from the beginning (for example uv texture or procedural), otherwise it will be a big job to change them later. But of course, this is not always possible.

As I said in the other thread, it's not a good idea to split such a model into several files; when the parts must be joined into one file after all, it will be a lot of duplicate textures to tidy up.

H

Offline

 

#6 February 1, 2010, 1:19 pm

PhantomChick
World Conqueror
From: Cyberspace
Registered: July 13, 2008,
Posts: 144
Reputation :   
Website

Re: Texturing the VW beetle

Texture magic!  I like the per-face, per-vertex method as well.  Also, by avoiding using images, you are able to maintain a nice small file size.  Great job on the air intakes!

Did you use a similar method for the tire rims, or are those parts of the geometry?

Offline

 

#7 February 1, 2010, 6:33 pm

helge-h
Platinum Member
From: Norway
Registered: December 31, 2009,
Posts: 70
Reputation :   

Re: Texturing the VW beetle

Thanks, PhantomChick. The rims are just geometry, that was the easiest.

H

Offline

 

#8 February 2, 2010, 11:17 am

mayid
42
From: Argentina
Registered: March 29, 2009,
Posts: 1004
Reputation :   
Website

Re: Texturing the VW beetle

Do not delete any texture that is applied to an object, this will result in an unreadable object the next time the file is opened.

Hey, something similar happen to me some weeks ago. I lost a couple of files. Lets check that behavior and then we should submit a bug ticket in sourceforge.

It's a good idea to apply the right kind of texture from the beginning (for example uv texture or procedural), otherwise it will be a big job to change them later. But of course, this is not always possible.

I'm not skilled in procedural textures, and in your place i would have used simple textures instead of uv or procedural. But i don't know why is that difficult to change them?

Now a request: what about a yellow car? They rule!


Comunidad en español:
www.aoi-castellano.com.ar/ForoBB/index.php
Comunidad de aprendizaje.

Offline

 

#9 February 2, 2010, 7:18 pm

helge-h
Platinum Member
From: Norway
Registered: December 31, 2009,
Posts: 70
Reputation :   

Re: Texturing the VW beetle

mayid wrote:

But i don't know why is that difficult to change them?

It's because I used per-face layered textures on a lot of the elements. Then it's necessary to delete the old textures and add the new ones on each element, and then attatch the proper texture to the faces. I had to do it a few times, to each light, the bumpers, the chassis etc.

And you are right; I could have used simple textures for most of the parts as it turned out, but now I have the option to change them later.

(Yellows: look for it in another thread.)

H

Offline

 

#10 February 3, 2010, 9:05 am

mayid
42
From: Argentina
Registered: March 29, 2009,
Posts: 1004
Reputation :   
Website

Re: Texturing the VW beetle

Ah! I remember. Yes it's difficult to change the layered textures. Hope we can imagine a better way to implement layered textures in the future. By now they're certainly awkward. And the only way i can figure to change easily a texture is transforming it (if no other object uses it).


Comunidad en español:
www.aoi-castellano.com.ar/ForoBB/index.php
Comunidad de aprendizaje.

Offline

 

Board footer

Powered by PunBB
© Copyright 2002–2005 Rickard Andersson