A whole new download section!
For years I have been asked how did I make Ra2/YR buildings, or can I release the 3d models and textures. The reasons I have never wanted
to, is because my 3d skills are not spectacular, and it would most likely require someone to have the same programs I use, so it just
seemed kind of point-less. But seeing as I do not care to much any more, and this site is pretty much just a collection of stuff any ways,
I might as well put them up for download. I have released one building of each faction, so maybe some one can find them helpfull.
And if this is some thing people like, I can release more, if I still have them...
So take note*** these 3d models will need 3ds max 2013 or newer to open.
[center]
The reasons I have never wanted to, is because my 3d skills are not spectacular, and it would most likely require someone to have the same programs I use, so it just
seemed kind of point-less.
At least your 3d skills are vastly superior to mine...
Thanks for sharing! _________________ Aka DirtyChicken QUICK_EDIT
MadHQ I just took a look at your site and saw the updates with the new shps and voxels I really like them! putting some in my private mod i am QUICK_EDIT
So one of the things I want to go back to playing with is, rendering vxl/shp with webgl... But I find it very frustrating... so I have to take breaks...
Anyways I thought I would try to have a look at what I can do with the vpl file...
And I am thinking I may try to do some kind of VPL editor...
This link shows a 256 section cylinder point cloud of the 32 vpl sections used like a lookup table to the unittemp pallet.
As you can see progress is just getting things set up... Though I do think its mirrored... and I am not sure what I going on with the 3 sections at the far left... I will have look and see whats going on... _________________ MadHQ's Graveyard - Click here!
(Permissions) - (F.A.Q.) QUICK_EDIT
Any chance of making a remastered Yuri Refinery the same way (if MadHQ will share the source files somehow)? It's not like the default one is bad, no, but it would be interesting to see how it will look with even more contrast and a texture like this one. QUICK_EDIT
Joined: 22 Nov 2010 Location: Iszkaszentgyorgy, Hungary
Posted: Fri Oct 21, 2016 1:55 pm Post subject:
The Refinery is already god as-is. _________________ "If you didn't get angry and mad and frustrated, that means you don't care about the end result, and are doing something wrong." - Greg Kroah-Hartman
=======================
Past C&C projects: Attacque Supérior (2010-2019); Valiant Shades (2019-2021)
=======================
WeiDU mods: Random Graion Tweaks | Graion's Soundsets
Maintainance: Extra Expanded Enhanced Encounters! | BGEESpawn
Contributions: EE Fixpack | Enhanced Edition Trilogy | DSotSC (Trilogy) | UB_IWD | SotSC & a lot more... QUICK_EDIT
The 3dmodel of that was lost long ago from a hard drive failure... It would have to be remade... And I am not interested in doing that.
I would also suggest reading my F.A.Q., you can find a link to in my signature... you might find answers to your questions with out having to ask. _________________ MadHQ's Graveyard - Click here!
(Permissions) - (F.A.Q.) QUICK_EDIT
Attach image shows 1st attempt at a generated new hot spot for selected pallet color spectrum...
I also fixed that weird mess that was on the left side of the 3d vpl render... I forgot to skip the pallet that is in the vpl file...
It took an annoying amount of time trying to figure out how to get JavaScript to create a binary file with my data... But I did figure it out and tests worked in game with out errors.
Added all kinds of stuff... like; loading custom vpl/pal and more gradient effects.
More still to be worked on... like editing vpl data with out having to use the gradient generator. But so far I am pretty happy with results. _________________ MadHQ's Graveyard - Click here!
(Permissions) - (F.A.Q.) QUICK_EDIT
Attach image shows 1st attempt at a generated new hot spot for selected pallet color spectrum...
I also fixed that weird mess that was on the left side of the 3d vpl render... I forgot to skip the pallet that is in the vpl file...
It took an annoying amount of time trying to figure out how to get JavaScript to create a binary file with my data... But I did figure it out and tests worked in game with out errors.
Boohoo, I got fooled this would show ingame shot comparison of voxel how it look with the palette and VPL...alas Nope xD
Else this is just like same old trying randomly for hopefully nice ingame result, nice effort tho. QUICK_EDIT
Attach image shows 1st attempt at a generated new hot spot for selected pallet color spectrum...
I also fixed that weird mess that was on the left side of the 3d vpl render... I forgot to skip the pallet that is in the vpl file...
It took an annoying amount of time trying to figure out how to get JavaScript to create a binary file with my data... But I did figure it out and tests worked in game with out errors.
Boohoo, I got fooled this would show ingame shot comparison of voxel how it look with the palette and VPL...alas Nope xD
Else this is just like same old trying randomly for hopefully nice ingame result, nice effort tho.
Ha! ya that will be in the next version. I have to figure out how the 32 sections are actually applied across the voxel, I do have some ideas... So I will have to try some time, but I am working on some thing else right now.
And ya with out some kind of live demo showing, it really almost seems as thought it is trial and error. _________________ MadHQ's Graveyard - Click here!
(Permissions) - (F.A.Q.) QUICK_EDIT
I am currently up to 60 out of 100 maps for my second 100 map pack, I am really pleased with myself on that... So lets hope I can make it to 100 again, before I completely run out of ideas...
I have also released version 1.0 of my VPL editor, future versions will have voxel loading for the the 3d view, this will be better for visualization of the changes made to the vpl data, along with more curve generating features and improvements.
I will continue work on that later, I have another random odd programming project I am currently working on.
Also I have made several changes to the site, most are on a php end. So if you encounter any errors please let me know.
I will have to optimize and clean up code, but so far it looks good! _________________ MadHQ's Graveyard - Click here!
(Permissions) - (F.A.Q.) QUICK_EDIT
So if you make a .vol generator, one thing you should incorporate is allowing users to expand the tonal ranges beyond what the default palette has, so say we want 12 greens instead of 8, or a larger 24 yellow-red tones and so on. Also would be nice to be able to explicitly choose permabright pixels anywhere on the palette, like maybe you want index 2 through 7 only to be permabright, and use 8-15 for another colour range.
I am really surprised by how well this looks and works.
I still have to fix a few things, namely I am not sure the vpl data is linearly spread across the voxel... So I have to figure out how to accomplish this... But it's extremely close.
Another thing is I have to figure out how the hell to fix the unittemp pallet colors... it seems as thought browsers/html/javascript/webgl does not handle the colors right... It could be my miss handeling... But it does look a little bleached... >_<
I have added other voxels to look at, select from the drop down box. (takes a few seconds to render/load)
This version is much more optimized:
renders 32 frames and loops, so it does not have to render all the time
several calculations simplifications
it creates normalTwoVPLPointer = array[unitRotation("32")][numberOFNormals] for look up pointer int to color data
useColor = vplData[0].sections[normalTwoVPLPointer[useVPLMapIndex][normIndex]][spanData[v][y + spanStartIndex]]; <- = awesome!
@G-E
You mean like the attached image, those 4 red colors will now be blue? That is already possible with the version on my site... though the 'hot spot' generator only looks right if you have the right colors selected... I just set up an example...
Quote:
permabright pixels anywhere on the palette, like maybe you want index 2 through 7 only to be permabright, and use 8-15 for another colour range.
I still have to fix a few things, namely I am not sure the vpl data is linearly spread across the voxel... So I have to figure out how to accomplish this... But it's extremely close.
I believe it is, but there is the extra light modifier in rules.ini that adds to the shiny pixels for higher contrast, and may darken the dark end faster as well, but since dark is on the far side that's hard to discern without some complicated testing. Since it seems to have a such a dramatic effect, I don't believe it affects the whole tonal range equally, the difference from 1.0 to 1.2 is drastic. Of course a voxel maker can opt to colour the unit in such a way as to replicate the effect on the highlighted edges, but I rather prefer how 1.1 looks even then.
No I mean the individual colours, like right now the last 16 are permanently the same shade on every vpl table, but lets say I want those to be ordinary tones that do lighten/darken, and I only want a handful of colours from the low end to stay permabright, since the first two are special cases already.
So to clarify I'm thinking of sticking to each tonal range for the brighter/darker shades in the vpl rather than bleeding across tonal ranges to mimic that as they do now, because I also want to spread the tones apart a bit more than currently, the green-biege and yellow-biege and pale-green have a lot of overlap. But I do want to retain white, blue, green, red and purple permabright colours, and reallocating the remainder to other things. _________________ http://www.moddb.com/mods/scorched-earth-ra2-mod-with-smart-ai QUICK_EDIT
Just thinking about things more, it could be useful to cap the number of bright tables beyond which the tones don't brighten. So your algorithm to determine the shade shift would remain, you would just lock the tables above that cutoff at the last one, then instead of 16 brighter maybe you have 12.
A more elegant solution would be a kind of bell curve to table shift intensity, with some adjustment to the curve amplitude? Then tonal changes near the middle and the ends would be gentler and between would be steeper... get what I mean?
@G-E I think .pal have to be in "ecache" mix's, I now you had other questions and I will get to them, but I am way to focused by some weird things when it comes to vpl mapping...
Edit*** maybe gameaddict11707 is right about the unitsno.... but I have no idea
So I have found a way to exponentially map the VPL data to a vxl... And it looks great! (See link above) Though does seem a little dark on some, but i do think that is the pallet issues I was talking about earlier...
However! By doing it this way sections from the .vpl are just never used...
By my calculations these are the sections that will ever be generated... That cant be right...
Left being back side of voxel and moving right is the front of the voxel
0,0,0,0,0,0,0,0,1,1,1,2,2,3,3,4,5,6,6,8,9,10,12,13,15,17,19,21,23,26,28,31
This is how I am calculating...
//voxelLocation = vertex location
//widthNormal = full diameter or normal values so I can divide to a range of 0.0-1.0
//The first assigns the vertex to a section
normalLocation = Math.round((voxelLocation / widthNormal) * 31);
//Then exponentially shifts the results to produce whats above.
normalLocation = Math.round(31 * Math.pow(0.03125 * normalLocation, 3) );
Does this make since to any one? Attached image shows image sphere vs my vpl mapping... There pretty close... The angle is wrong on my render...
One thing I'm starting to do is a kind of hockey-stick effect on bright tones, so that my range of 16 shades has the top 3-4 accelerate towards white rather than towards the full intensity of the colour. That's why I was asking if you can replicate WW's style because then I could try a combination of extra light and palette, see which works best...
gameaddict11707 wrote:
You're trying to load your custom unittem.pal on a snow map. Make a copy and call it unitsno.pal.
I do not know why I tried to over complicate it with that weird formula...
normalLocation=31-Math.round(31 * Math.sin((widthNormal/2) - _voxel.geometry.vertices[x].y)); <- thats all I need...
It wasn't a linear/exponential fit, it was a trigonometric fit... And I am sure what I have can be simplified a little... I just have to remember my trig crap...
The highlights look blown out now...
Also your camera is off
In a old comment in moddb i noted X 60,0 Z -45,0 as the camera rotation in 3ds max _________________ Tiberian Dawn, Red Alert, Tiberian Sun ,Red Alert 2,Renegade, Command & Conquer 3,Tiberium and Tiberium Wars and Westwood related image & video archive
https://picasaweb.google.com/113361105083292812413?noredirect=1
Skype live:tomsons26
Don't forget to state who are you otherwise i'll ignore the invite QUICK_EDIT
Yes I know the camera is not correct... I did not care to much about that, as that is not what I am trying to accomplish. And as all my post state, its VPL mapping.... And the camera was just there to help.
I am not to sure what you mean by "blown out"... They look right to me... I added a screen shot of what RA2/YR vxls look like. You might have forgotten that Ra2/Yr units do look like that.
And from what I can tell its pretty damn close. The difference's I see are the color pallet differences. (I am only looking at how the normal's and vpl act across's the voxel)
I haven't, just bad choice of words i guess cause i forgot the word for what's wrong with the lighting :X
Right if you can't say it show it :p
Edit:
Gif with Kirov with extra light 0.0 and 0.2
Interestingly to get the exact same look as 0.2 for the 0.0 version in PS Curves White Point just needs to be set to 20( that is in Pigment/Ink mode, in Light mode Input to 204, rounding it to a nice number 200 as it visually looks pretty much identical).
Not really that shocking, there's a bunch of things based on PS in WW games, being the tool they primarily used makes sense.
Skype live:tomsons26
Don't forget to state who are you otherwise i'll ignore the invite Last edited by tomsons26lv on Mon Nov 14, 2016 11:08 pm; edited 2 times in total QUICK_EDIT
I saw some unknowns in the html, its hard to understand tho, can you post the Voxel, Voxel Palette, and HVA headers as you know them?
Preferably with hex addresses, makes it easier for me.
These will need to be looked at as RApp progresses towards TSpp anyway so its better to look into it before the time comes.
Would be good to start some constructive discussion on any mysteries as that would benefit the entire community to try and solve them. _________________ Tiberian Dawn, Red Alert, Tiberian Sun ,Red Alert 2,Renegade, Command & Conquer 3,Tiberium and Tiberium Wars and Westwood related image & video archive
https://picasaweb.google.com/113361105083292812413?noredirect=1
Skype live:tomsons26
Don't forget to state who are you otherwise i'll ignore the invite QUICK_EDIT
Well I went into my color pallet code and finally fixed that... I even fixed my vpl editor code... I do not know why I was doing it the way I was... >_<
And I went ahead and shifted the camera a little to get it into better position... the perspective seems off but that is okay or mine voxel my be a little bigger... either way it was never an important thing for me... but its closer now...
I also was never including the unit extra light multiplayer found in rules(md).ini, the updated version is now using it. Edit* I took it away I did not like it....
The first attached image is a recent update with a smaller point size so its not as big, along with no extra unit light. I think no extra light looks better.
the second image, does not use a the extra unit light... and has the larger point size (0.26) witch I think is what Ra2 is... I think theirs a difference between what I am using and ra2 engine.
Congrats, you nailed the shading _________________ Tiberian Dawn, Red Alert, Tiberian Sun ,Red Alert 2,Renegade, Command & Conquer 3,Tiberium and Tiberium Wars and Westwood related image & video archive
https://picasaweb.google.com/113361105083292812413?noredirect=1
Skype live:tomsons26
Don't forget to state who are you otherwise i'll ignore the invite QUICK_EDIT
I do not know if any one cares or any experience in this kind of thing... But, I found an interesting little challenge for my-self.
And that is sorting a color pallet...
The 1st image below shows my current results.
far left -> original Ra2 anim.pal
center -> sorted by hue value
far right -> sorted by dividing into 6 hue chunk sections and then sort each chunk by lightness
The 2nd image shows differnt results with the number of chunks... It seems like more is kind of better... but at a point it looks like its returning to normal hue sorting...
So my questions are:
Does any one have experience in this, or have any ideas on how to sort a color pallet like this kind of like the TS anim.pal
and
Is it worth it to divide the pallet into 6 chunks and sort by lightness, it just requires more processing...
and
How many chunk sections do you think shows the best results...
Well I use the saturation to determine if it is grey-scale... That is how I get that little grey scale in the bottom right corner... that is about it so far... Am trying to think of another way to use it....
anyways I attached an image with the effects of sorting by Hue -> Lightness -> Saturation, showing results for each step starting with original pal.
And the results were not great...
It could be that I am sorting it wrong...
For each step I apply a simple swap loop... like example below. so there would be three loops like that...
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