Go Back   AC3D Forums > Resources > AC3D Plugins and Other Resources
Register FAQ Members List Calendar Search Today's Posts Mark Forums Read

Reply
 
Thread Tools Display Modes
Old 24th October 2003, 04:52 PM   #1
Dennis
Senior Member
Professional user
 
Dennis's Avatar
 
Join Date: Jul 2003
Posts: 899
Default New texture map plugin

Hi all,

I've written (with Andy's help) a "planar texture coordinates" plugin for AC3D. You can find it here (http://bellsouthpwp.net/a/t/atomicd/plantex.zip).

( warning - I believe this only works on AC3D version 4 )

This plugin allows AC3D to set global texture coordinates for your textured polygons (this is the way a lot of 3D game editors map their textures, and I'm using AC3D as a 3D game editor). It's two biggest features are 1) it prevents stretching on your textures and 2) you can use it on adjacent objects with the same texture to allow them to appear contiguous. I've posted screenshots below.

You can use this to rotate/offset/scale your textures on a per-surface basis as well.

The only downside is AC3D doesn't "remember" these settings per-surface. So if you resize/move your polys and need them re-aligned, you simply re-run the plugin on them.

Here's the interface:



Here's a screenshot of textured polys using the plugin (this doesn't show off the rotation):



and here's a screenshot of the same scene w/default texture mapping (so you can see what it's really mapping against):



Hope you find this useful - please let me know if you run into any problems using it or you see anything screwy with it (again, I think it only works on AC3D ver4).

Thanks,
Dennis
[/img]
Dennis is offline   Reply With Quote
Old 27th October 2003, 11:46 AM   #2
-WOODY-
Senior Member
Professional user
 
Join Date: Sep 2003
Location: Homje of the Indy 500
Posts: 176
Default Re: New texture map plugin

Ok I'll give that a shot. Normally after I texture an object I'll have to then re-texture the sides and top surfaces so as not to have any stretching.
-WOODY- is offline   Reply With Quote
Old 27th October 2003, 01:36 PM   #3
Dennis
Senior Member
Professional user
 
Dennis's Avatar
 
Join Date: Jul 2003
Posts: 899
Default Re: New texture map plugin

Thanks Woody - I'd appreciate any feedback you can offer, especially if you find something that a) doesn't work the way you think it should, or b) you see a more intuitive way to specify options. And, of course, if you see any problems...
Dennis is offline   Reply With Quote
Old 11th January 2004, 04:31 PM   #4
LiveWire
Senior Member
Professional user
 
Join Date: Nov 2003
Location: Eugene OR, USA
Posts: 212
Default Re: New texture map plugin

sweet Tool! Extremly usful for modeling levels in games.

thanx!

Philip
LiveWire is offline   Reply With Quote
Old 11th January 2004, 07:25 PM   #5
Dennis
Senior Member
Professional user
 
Dennis's Avatar
 
Join Date: Jul 2003
Posts: 899
Default Re: New texture map plugin

Thanks LiveWire - I actually made an addition that allows you to map a texture nxn times across each selected surface. For example, take this fence texture:



Using the default settings, the above surfaces don't map right when you have a 1x(n) texture, and it's a pain to get it adjusted manually. Using the "Fit" addition:



fixes this.

I haven't tested it much, it's not intuitive control-wise (separate action button), and it's really best used on axis-aligned surfaces, so I haven't released it yet, but let me know if you want to mess this version.
Dennis is offline   Reply With Quote
Old 11th January 2004, 07:44 PM   #6
LiveWire
Senior Member
Professional user
 
Join Date: Nov 2003
Location: Eugene OR, USA
Posts: 212
Default Re: New texture map plugin

nice. that addition of fitting textures will be great, where do i download the newest plugin?
LiveWire is offline   Reply With Quote
Old 11th January 2004, 11:38 PM   #7
Dennis
Senior Member
Professional user
 
Dennis's Avatar
 
Join Date: Jul 2003
Posts: 899
Default Re: New texture map plugin

Quote:
Originally Posted by LiveWire
where do i download the newest plugin?
You can find it at http://bellsouthpwp.net/a/t/atomicd/plantex_beta.zip

Let me know if you see any problems with it. If you do see anything buggy/weird with it, if you can reproduce it in a *.ac file and send it along, that would be great.

Enjoy!
Dennis is offline   Reply With Quote
Old 12th January 2004, 09:13 AM   #8
-WOODY-
Senior Member
Professional user
 
Join Date: Sep 2003
Location: Homje of the Indy 500
Posts: 176
Default Re: New texture map plugin

Well so far since I've been using it, it's been working perfectly. Before you came out with that "fit" function, I would just normally use the scale and offset functions to fit the texture to a single surface.
I'm sure this added function will make this much easier.
__________________
http://home.earthlink.net/~slwoodgraphics/coupe_sig.jpg
Take a gander at my fan site Three D madness
-WOODY- is offline   Reply With Quote
Old 24th January 2004, 05:52 AM   #9
figgy
Member
Advanced member
 
Join Date: Jul 2003
Location: Hampshire UK
Posts: 38
Default Re: New texture map plugin

Great work Dennis.

Mark
figgy is offline   Reply With Quote
Old 25th January 2004, 05:30 PM   #10
LiveWire
Senior Member
Professional user
 
Join Date: Nov 2003
Location: Eugene OR, USA
Posts: 212
Default Re: New texture map plugin

Im having problems with the Offset function, basicaly nothing happens to the textures when i change the offset value.

any help
thanx
LiveWire is offline   Reply With Quote
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off



All times are GMT -4. The time now is 03:41 AM.


AC3D Forum
(C) Inivis Limited 2020