:: Home :: Get Hosted :: PPM FAQ :: Forum FAQ :: Search :: Memberlist :: Usergroups :: Register :: Profile :: Log in to check your private messages :: Log in ::
Do you want to advertise at Project Perfect Mod. Find out how to do it HERE.

The time now is Thu Oct 19, 2017 10:46 am
All times are UTC + 0
 Forum index » Modding Central » Red Alert 2 Editing Forum » Tutorials Vault
Using Flyby's Voxelizer
Moderators: Global Moderators, Red Alert 2 Moderators
Post new topic   Reply to topic Page 1 of 1 [13 Posts] View previous topic :: View next topic
Author Message
Banshee
Supreme Banshee


Joined: 15 Aug 2002
Location: Brazil

PostPosted: Fri Aug 08, 2003 12:47 am    Post subject:   Using Flyby's Voxelizer Reply with quote

bullethead authorized me to post this excelent and quite simple tutorial about converting your 3d models to voxel with the Voxelizer script from Flyby. I should point out that this tutorial also works for Tiberian Sun.

(Btw, Sk8erkid also wrote something pretty cool about that in graphics forum some months ago)

Quote:

Tutorial Name: [RA2/YR] TUT on using flybys script with gmax to make voxels  
Made by: bullethead
Difficulty: Easy

Extra info:

If you post this on any site please give credit where it is due, to me(bullethead).
 

"Now I recently had a talk with Flyby and he said his script didnt work with colours which basically makes it useless when you want to convert a 3d model to vxl format. So I did some experimenting(which didnt take long) and decided to make a tut on my findings. If you post this on any site please give credit where it is due, to me.  

Materials needed:
1.Gmax or the renegade gmax expansion Renx(which you can aquire from the official renegade site)
2.Flybys Voxelizer script which you can get from Tibiriumsun.com
3.Xcc mixer
4.Vxl Editor
5.Microsoft Word

Alright here we go.

First make your 3d model in Gmax or Renx.
Make sure its of good size, not to small and not too big.
Then click on run script. and open Flybys voxelizer script.
You will want to click the pick object button then click what you are wanting to voxelize.
After that is done it gives you the coridinates and the poly count on the model.
Next click Voxelize. It takes awhile sometimes so hang in there.
After it is done click on the Gmax button. It will say renderer is not available and to copy and paste from the maxscript listener(F11).
So click F11 and it will bring up the txt file you need. Now you will notice that there are 5 numbers in each row, and after the numbers it says undefined. Here is an example from a model I have been working on:

Ex.1
0,1,9,1,1,undefined
0,1,9,2,1,undefined
0,1,9,3,1,undefined
0,1,9,4,1,undefined
0,1,10,1,1,undefined
0,1,10,2,1,undefined
0,1,10,3,1,undefined
0,1,10,4,1,undefined
0,1,11,1,1,undefined
0,1,11,2,1,undefined
0,1,11,3,1,undefined
0,1,11,4,1,undefined
0,1,11,5,1,undefined
0,1,12,1,1,undefined
0,1,12,2,1,undefined
0,1,12,3,1,undefined
0,1,12,4,1,undefined
0,1,12,5,1,undefined
0,1,12,6,1,undefined
0,1,13,2,1,undefined
0,1,13,3,1,undefined
0,1,13,4,1,undefined
0,1,13,5,1,undefined
0,1,13,6,1,undefined
0,1,14,2,1,undefined
0,1,14,3,1,undefined
0,1,14,4,1,undefined
0,1,14,5,1,undefined
0,1,14,6,1,undefined
0,1,14,7,1,undefined
0,1,15,2,1,undefined
0,1,15,3,1,undefined
0,1,15,4,1,undefined
0,1,15,5,1,undefined
0,1,15,6,1,undefined
0,1,15,7,1,undefined
Etc......


That is where the problem is. The undefined should be a number representing the number from the unittem.pal. Like if you put 50 the you would get a dark grey colour on a section of the model. But since it says undefined, when you convert the txt to vxl it will only show a blue screen.

So here is what we do to fix that. Go to Microsoft word and open it. then click open file->then name of what you saved your txt too. Once that is opened click on edit->find->replace. In the Find What box type undefined But not with the underline I jsut underlined it so you could see it better. Then in the replace with box type in any number from 0 to 255. or from 16 to 191 cause some of the colours will be pink in game even though they arnt pink in vxl editor.

Now once you have entered the number you want click on REPLACE ALL. After it is done replacing the undefined with your number enterd click save. And it should look like this:

Ex.2
0,1,9,1,1,xx
0,1,9,2,1,xx
0,1,9,3,1,xx
0,1,9,4,1,xx

xx being what ever you entered.


Ok were almost there.  

Now put your saved txt file in the RA2 directory if it isnt already. Open up xcc mixer then the RA2 directory. do the same in the middle panel. Click on your txt file and right click on it. then click on copy as vxl. And there you have it. You will see your vxl in one colour only but at least you will see it finally.

For finishing touches your gonna want to open it in Vxl editor and colour it the way you want.

I hope this has helped others that have the same problem that I did. updates will be done to this to make it alittle more clearer if it isnt already. Ill leave you by saying have fun."


A picture of the model he used for the conversion:



And the result, in the voxel editor:



Key Words: #Tutorials #Voxels #3DModels #Graphics #Media #TiberianSun #Firestorm #RedAlert2 #YurisRevenge #OpenRA #FlybysVoxelizer #GMAX #RenX #XCCUtilities #VoxelSectionEditorIII 

Last edited by Banshee on Sat Nov 05, 2016 4:58 pm; edited 7 times in total

Back to top
View user's profile Send private message Visit poster's website MSN Messenger
Sk8erkid
INSANE


Joined: 16 Aug 2002

PostPosted: Sat Aug 09, 2003 8:46 pm    Post subject: Reply with quote

Omg, lol when was this tutorial made! I figured that out all by myself and this was already here #Tongue or was this discovered after i did.. or mayeb they stole it from me #evil lol im just kidding i dont htink someone would do that, if so i dont care.
_________________
Sk8erkid - [PPM]

Back to top
View user's profile Send private message Visit poster's website
bullethead
Vehicle Drone


Joined: 04 Jun 2003
Location: USA

PostPosted: Tue Aug 12, 2003 11:39 pm    Post subject: Reply with quote

Im the one that wrote the tutorial cause Im fairly new to trying to make vxls from gmax or 3ds max. It was made a week ago to help people out that need the help. And nope I didnt steal it from ya. Shoot I didnt even think anyone else bothered using this script cause of the no colour thing. So I gave a crack at it. It only took me like 5 minutes to figure out what to do then another 5 to write the tutorial.

Back to top
View user's profile Send private message Send e-mail Visit poster's website AIM Address
Mike
Commander


Joined: 11 Jan 2003
Location: Netherlands

PostPosted: Sun Aug 24, 2003 12:49 pm    Post subject: Reply with quote

well it doesn't exactly work for me
_________________


Ghost Reporting: "Sir we have cleared these nuke silos, we have 4 nukes on stand by, awaiting your orders."

Back to top
View user's profile Send private message MSN Messenger
Sk8erkid
INSANE


Joined: 16 Aug 2002

PostPosted: Sun Aug 24, 2003 5:42 pm    Post subject: Reply with quote

some thing i noticed that i dont remember if you said in your tutorial is that if you dont click gmax export before goin gto the listener the #'s wont usually show up
_________________
Sk8erkid - [PPM]

Back to top
View user's profile Send private message Visit poster's website
bullethead
Vehicle Drone


Joined: 04 Jun 2003
Location: USA

PostPosted: Wed Aug 27, 2003 10:43 pm    Post subject: Reply with quote

Well when you click on the export utton it says to press f11 to open up the listener window which has the numbers. Turalyon what are you having problems with. I can help ya out?

Back to top
View user's profile Send private message Send e-mail Visit poster's website AIM Address
Sk8erkid
INSANE


Joined: 16 Aug 2002

PostPosted: Wed Aug 27, 2003 11:06 pm    Post subject: Reply with quote

when converting, i suggest that you dont have anyother major windows open (maybe like my documents) but no messangers on and not do anything while its converting (wich may take a while with complex voxels) and when i was first converting, if i would try and do other stuff, or minimize the gmax window from the top right corner it would freeze. SO you might just want to make sure you have a couple spare minutes when you are voxelizing
_________________
Sk8erkid - [PPM]

Back to top
View user's profile Send private message Visit poster's website
Gaffel
AA Infantry


Joined: 27 Mar 2006

PostPosted: Sun Aug 20, 2006 11:43 pm    Post subject: Reply with quote

any download link for Flybys Voxelizer? the site dont work

Back to top
View user's profile Send private message
Banshee
Supreme Banshee


Joined: 15 Aug 2002
Location: Brazil

PostPosted: Mon Aug 21, 2006 1:07 am    Post subject: Reply with quote

http://yrarg.cncguild.net

Look at the Utilities section.

Back to top
View user's profile Send private message Visit poster's website MSN Messenger
ViPr
Gauss Rifle Trooper


Joined: 30 Dec 2004

PostPosted: Tue Aug 22, 2006 3:40 am    Post subject: Reply with quote

are people actually using this program? i thought it was stopped really early in development and the other voxelizer has, by far, outripped it.

Back to top
View user's profile Send private message
mice16
Pyro Sniper


Joined: 26 Jul 2005

PostPosted: Tue Aug 22, 2006 5:16 am    Post subject: Reply with quote

How about... 3ds2vxl?


THAT needs a tutorial...
_________________

Lt A1br3cht wrote:
Kill it with fire!!!!!!!!!!!

Back to top
View user's profile Send private message
THE Protagonist
Commander


Joined: 19 Apr 2006
Location: The Etto

PostPosted: Thu Sep 21, 2006 3:28 am    Post subject: Reply with quote

here is a little extra thing to add to your tut.

adding the right colors you want to your vxl.

after you converted your 3d model into a vxl go to the vxl texture tool.(see picture 1)

then save the blank texture.

open that texture up in MS paint or photoshop.

open that same texture up in a seperate place.

on one of them, magnafy it by 400% and on the other make it 400% bigger.

go to gmax and put your vxl in the front ,left ,top ,and bottom veiws, and then print the screen.
copy that in another window, then repet the last step but with the views being back,right,whatever,whatever views.

then you can copy and paste it to the one thats 400% bigger.

then reduce it back to its normal size and save it as a bmp.

then go back to the vxl texture tool and load the new texture and then iron out the kinks and you got your vxl Smile
_________________
Global Genocide Website

Back to top
View user's profile Send private message AIM Address
Chaotix000
Light Infantry


Joined: 25 Apr 2007

PostPosted: Thu Jan 20, 2011 10:40 am    Post subject: Reply with quote

What does "No intersect ray function for ok mean?

Back to top
View user's profile Send private message AIM Address
Display posts from previous:   
Post new topic   Reply to topic Page 1 of 1 [13 Posts] View previous topic :: View next topic
 Forum index » Modding Central » Red Alert 2 Editing Forum » Tutorials Vault
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You cannot attach files in this forum
You can download files in this forum


Powered by phpBB © phpBB Group

Wildcard SSL Certificates
[ Time: 0.1347s ][ Queries: 11 (0.0238s) ][ Debug on ]