Twisted DIRT Forums

MX vs ATV (and prior MX games) Forum => Track Making Tools (Reflex Track Compiler, MVA Editor, Armadillo/Dillo Too/APM/Etc.) => Topic started by: mcm2boys on March 04, 2012, 03:20:32 PM

Title: Reflex editor - Digital Earthworks - release
Post by: mcm2boys on March 04, 2012, 03:20:32 PM
After a lot of coding and testing (thanks Bruce, al167 and Stevo) the first release of the Reflex editor is ready for general release.

It has been partly re-written to accept plugins for different titles - no surprises that the first plugin is for Reflex. It is still under construction but it is at least at a stage where it does more or less what the compiler did. It is pretty much the Unleashed editor stripped down with the Reflex compiler code grafted into it. I will be adding a simple image editor next so that some of the textures can be edited (eg the overlay mask) and the effects of the edit viewed directly on the rendered terrain.

You will need to have the latest DirectX 9.0c installed and the PhysX drivers from nVidia, you will be shown the link in the help file if they are not already installed.

You can download it from here: Digital Earthworks v0.8.0.6 (http://www.strawberrysoftware.net/download.php?file=reflex/DigitalEarthworksv0.8.0.6_setup.zip)

As you can see due to the change in direction of the editor, targetting more than 1 title, there has been a name change to Digital Earthworks.


Bug work around for light map issue reported by Al167:

Al167 reported that wet look lighting wasn't working properly. This is because the wrong texture was being used for the Spherical reflection. If you download and save the file below and use it for the Spherical Reflection map under the Terrain tab, it should fix this problem. You will need to do this for each of your tracks, until the next version of the editor is released which will have a permanent fix.

You can download it from here: DefaultSphericalReflection.bmp (http://www.strawberrysoftware.net/download.php?file=reflex/DefaultSphericalReflection.bmp)


Have fun..
Laurie
Title: Re: Reflex editor - Digital Earthworks - release
Post by: JamieT on March 15, 2012, 09:31:21 PM
Hey Laurie, I'm loving that you are spending time on the next generation of track editor! Its great that Twisted Dirt still makes editors for these Rainbow games after all these years. So just wanted to say big thanks for the current effort.

Also, I'd like to vote 'objects', as the next feature for the editor :)

Jamie
Title: Re: Reflex editor - Digital Earthworks - release
Post by: mcm2boys on March 16, 2012, 05:21:39 AM
Thanks for the thanks..

Objects +1..

Objects and splines are my next step, but i think i will lean more to the objects, let's make more interesting tracks and then make them raceable..

Laurie
Title: Re: Reflex editor - Digital Earthworks - release
Post by: al167 on March 16, 2012, 08:17:12 PM
thanks for the hard work Laurie . we wouldnt be modding reflex without you thats forshure!!!

yeah i agree, objects should be next.

i dont know anything about objects for gaming. although i do know solidworks and autocad quite well, so its gonna be a bit of a learning curve for me.
but im looking forward to it.

i hope to release one of my tracks ive been working on within the next week or so. (it will be compiled through the new editor!!)
cheers Allan
Title: Re: Reflex editor - Digital Earthworks - release
Post by: mcm2boys on March 18, 2012, 12:57:00 PM
Thank you Al for your patience and testing..

I will start with just the stock objects, custom objects will be further down the road so you will have plenty of time to practice object building. Custom objects will probably start with export from Milkshape3D, because i have a code base for doing that - plus it's a little harder to write plugins for the commercial 3D design software..

Looking forward to seeing what you can do with the editor..

Laurie
Title: Re: Reflex editor - Digital Earthworks - release
Post by: karpuha on March 18, 2012, 01:23:58 PM
mcm2boys
Hello,    Digital Earthworks dont work on XP ??
Title: Re: Reflex editor - Digital Earthworks - release
Post by: mcm2boys on March 19, 2012, 04:09:38 AM
It should do, what's the problem as much detail as you can give me..
Title: Re: Reflex editor - Digital Earthworks - release
Post by: al167 on March 19, 2012, 06:14:08 AM
i finally figured out what is wrong with the lighting.
the mask map alpha isnt working right. im not shure what the exact problem is, but instead of making the terain shiny(wet look) it just overlays the image with a grey fog like look heres some images.
the first image is with the editor with a completely black alpha in the mask map,second is editor with white sections on the alpa, third is 1.09 compiler wit the same mask as used in the second pic.

hope its not too tricky to fix....

cheers allan
(http://i473.photobucket.com/albums/rr96/alberto167/MXReflex2012-03-1920-00-53-84.jpg)
(http://i473.photobucket.com/albums/rr96/alberto167/MXReflex2012-03-1919-58-48-58.jpg)
(http://i473.photobucket.com/albums/rr96/alberto167/MXReflex2012-03-1919-42-26-39.jpg)
Title: Re: Reflex editor - Digital Earthworks - release
Post by: mcm2boys on March 19, 2012, 07:27:36 AM
Ok, I'll take a look at that and get back to you..

Title: Re: Reflex editor - Digital Earthworks - release
Post by: mcm2boys on March 21, 2012, 05:23:50 AM
I think I have found the problem, the editor is using the wrong texture for the spherical reflection map. I have linked the right file in the first post. You will need to replace the spherical reflection map in all of your projects with the new one..
Title: Re: Reflex editor - Digital Earthworks - release
Post by: JamieT on March 21, 2012, 11:26:38 AM
Hey Laurie, could you take a look at the bump map that is being generated from the rgb mask? I'm sorry, I don't have any screen shots at the moment, but there is a problem with the alignment of the bump map, to the textures. I can't describe the problem too well, as there seems to be no logical flip or rotation to the bump map's orientation. Hopefully you will see it in the code! :)

Cheers

Jamie
Title: Re: Reflex editor - Digital Earthworks - release
Post by: al167 on March 22, 2012, 03:37:54 AM
i tried that new spherical map. its better but still not right. there is some sort of grey reflection that looks like fog rather than being shiny.
it now looks somewhere inbetween the second and last pic from before.

Title: Re: Reflex editor - Digital Earthworks - release
Post by: mcm2boys on March 22, 2012, 08:57:59 AM
JamieT

I took a look at the bump textures on a newly created track and they look aligned to me, so what did you see that made you think that they weren't?


Al167
hmm, it worked on my test track, i didn't see any fog just wet mud.. Do you mind PMíng me a link to the files that you are using and i'll try to compile it here..

Cheers
Laurie
Title: Re: Reflex editor - Digital Earthworks - release
Post by: JamieT on March 22, 2012, 03:54:03 PM
Here's a video of the track.

http://youtu.be/2r-b486MAF4

this is what I see, bump maps that don't match the textures... :/

I will email you the track files tomorrow, as I am on my way out the house as I write this...


Jamie
Title: Reflex editor - Digital Earthworks
Post by: cr125 on March 23, 2012, 01:28:14 AM
how do you use the editor (make tracks)
Title: Re: Reflex editor - Digital Earthworks - release
Post by: mcm2boys on March 23, 2012, 06:17:38 AM
Ok thnx Jamie, now i see what you mean, i thought you meant the bump texture was oriented diferently to the dirt texture - that they didn't match if you overlaid the 2 textures, but now i see you mean when they ar eapplied to the track. This is something that the shaders do. I am using the RBW shaders in the editor so you should the same effect in game as in the editor - but there isn't much i can do about it at the moment - you will just have to choose you're textures carefully and maybe overlay them with some transparency in the R,G or B channels to get a nice fade - so no 'sharp' color edges in the RGB channels of the mask.

cr125 - not trying to be smart but i could cover a lot of text about creating tracks for Reflex, i would suggest you install the editor, read the help file and the Wiki then start importing some Disp maps andsee what you get.. There's a few people around here who are pretty knowledgeable about the process already and can help you out..
Title: Re: Reflex editor - Digital Earthworks - release
Post by: al167 on March 23, 2012, 07:10:51 AM
hey jamie. going off the vid it looks like your mask map alpha channel is completely white where the track is. make the mask map alpha completely black(for now until we get the "wet look"working correctly). im not having any issues with bump maping. your bump maping should look like the samples in the wiki.
great track so far its my sort of track (narrow and technical)!!

cr125- as mcm2boys said but this will help to:
if you want to make Reflex Custom tracks.....

what you need:
-twisted dirt editor
-beta slot files
-photoshop
-one spare weekend

all the info on how to make tracks each componen of a track is in the wiki section. Also read through the forums especially this one http://twisteddirt.com/smf/index.php?topic=2996.0
this one will help you the most.

you will find the old  compiler and the beta slot files in that forum post too.

watch these tutorial videos.
-the two armadillo videos on the twisted dirt downloads page are great for making the diplacement map
-boblob(another reflex track creator) has put up a video on youtube on how to make tracks for reflex.
good luck
Title: Re: Reflex editor - Digital Earthworks - release
Post by: JamieT on March 23, 2012, 10:19:11 AM
cr125 - This is the video that I watched, to help me understand reflex and it's files. It's really helpful and easy to understand. (Big thanks, boblob) -  http://www.youtube.com/watch?v=ZLE8MUdV7LU&feature=youtu.be


al167 - Glad you like the track, It's scaled to AMA supercross size, with correct spacing between jumps etc. I am asuming, (and sure I read it somewhere) that 1 pixel = 1 foot for the disp map, so hopefully that is right.  But for my alpha map... that is completely black. Have you tried using sharp edges to your textures on your own track? I would be interested to see if you get the same result as me...

Laurie - hmmm I dont really understand what you mean about the shaders... You say you are using RBW shaders... Was there some shader files I needed to copy over from the reflex folders to the editor? Or are they shaders given to you by the guys at rainbow? Anyway, it's not a huge disapointment, and I can wait a while for a solution. I'm having alot of fun just making the disp maps at the moment, reflex really seems to work well on the replica scale tracks like mine. Also separate drag / slip maps is a big improvement from what they were with unleashed...

Also, on a sidenote, after my first time using the editor, I closed the help file, and now I can't get it back... Anyone else have this problem?


Jamie
Title: Re: Reflex editor - Digital Earthworks - release
Post by: mcm2boys on March 24, 2012, 07:26:19 AM
Jamie

The shaders i took from the game files, the shaders are copied to each track as part of the compilation process so it's nothing that you needed to copy. They render the track to the screen and so completely control how your textures are applied to the track. I don't fully understand them since i haven't worked much with shaders yet and what i see is the low level shader code not the high level code which makes them harder to understand. I would have to write new shaders to override the way the RBW shaders work - which is why it will be a while. 

For some reason i have removed the help file button from the toolbar i'll put it back in the next release.. In the meantime you could make you're own shortcut link to it on your desktop, it's the *.chm file in the same folder as the *.exe file.
Title: Re: Reflex editor - Digital Earthworks - release
Post by: JamieT on March 25, 2012, 04:46:37 PM
Thanks for the full explanation Laurie, I understand a little better now :) I cannot begin to imagine what you have to go through ( with code etc.)  to be able to do what you do for this game... Many year's worth of experience with coding I expect :)
Title: Reflex editor
Post by: cr125 on March 25, 2012, 08:06:23 PM
can someone make a track editor for reflex that is like the unleashed editor that is easy to use,
that has the jumps on the editor already

thanks
Title: Reflex editor
Post by: cr125 on March 25, 2012, 08:13:07 PM
can someone make a track editor for reflex that is like the unleashed editor that is easy to use,
that has the jumps on the editor already

thanks
Title: Re: Reflex editor - Digital Earthworks - release
Post by: al167 on March 26, 2012, 06:02:08 AM
you will really need to learn photoshop to make great tracks, but you can make the disp map with the unleashed editor if you want, then export it resize it in photoshop and then import it into the reflex editor. the rest (textures ect) will need to be done in photoshop though...... but thats a good start and would get you riding your own height map in reflex!

most people who try to make tracks give up, as it takes hours and hours to make a half decent track.

will you be one of those? only time will tell!!!!
Title: Re: Reflex editor - Digital Earthworks - release
Post by: JamieT on March 28, 2012, 12:22:30 PM
Hey Laurie just an update...

I used the compiler 1.09 just now, and the textures & bump maps are all matching up properly as they should. I only used the default textures though... I have yet to explore all the textures included with reflex. So it could just be a simple fix with the code..

-Jamie

*edit*
No... when I used custom bump maps in the compiler, the shaders do the same thing as before...

I'm suprised this wasn't reported before, which makes me think it may be a problem with my setup?..

I have steam installed in,   C:\Games\Steam\

The reason for this was because I purchased Fallout 3 this past christmas, and the level development kit for the game recommended this install location. That could be the only thing I can think of..

Bump maps look fine in the editor, but once they're in the game, it's a different story.
Title: Re: Reflex editor - Digital Earthworks - release
Post by: cr125 on March 28, 2012, 07:54:32 PM
what i want the editor to be: I want the editor to be easy to use it has all the jumps in it already it has a bigger map space it has all the things in the one editor and you don't have to use different programs to make things.

thanks cr125
Title: Re: Reflex editor - Digital Earthworks - release
Post by: mcm2boys on March 29, 2012, 05:24:54 AM
Thanks Jamie,

I'll keep that in mind as i'm coding and see if i can see anything that might be causing it. First thoughts are that  it could be something like texture sizes of the custom textures..

cr125,
I think you missed one last thing that you want that i don't see on your list: it has to be free.   ;)

Laurie
Title: Re: Reflex editor - Digital Earthworks - release
Post by: Fixer on March 29, 2012, 12:17:40 PM
lol...
Title: Re: Reflex editor - Digital Earthworks - release
Post by: pulse on April 01, 2012, 10:53:01 PM
(http://i197.photobucket.com/albums/aa98/canwin2/DigitalEarthworks2012-04-0118-49-56-96.jpg)

its just way too bright to look in the editor
Title: Re: Reflex editor - Digital Earthworks - release
Post by: mcm2boys on April 02, 2012, 03:13:49 AM
Hi Pulse

That looks like you're pulled back a long way above the track, this can cause the fog to get bright. You can reduce the fog brightness that you see at a distance by reducing the brightness of the topdown texture.

Does the view get darker - less fog - when you get closer to the track (using the 'E' key)?

There are other textures that affect the brightness as well, like the alpha channel of the Chrominance Luminance texture, make that darker to dial down the track brightness..

Maybe some of the other track makers can help you out with workable settings.

Laurie
Title: Re: Reflex editor - Digital Earthworks - release
Post by: JamieT on April 02, 2012, 07:19:55 AM
Yeah like Laurie said, it looks like your alpha channel of the chrome map is too bright.

On my track, the alpha for the chrome lum had 47% grey (or brightness) on the light parts, and 40% brightness for the shadows. 7% difference isnt alot, but it makes a big difference in the game i feel.

But if you have been playing with the lighting that may be the issue. I have not touched any light settings yet, but in the editor with stock lighting, your track should appear darker than what it is once you're in game.

*edit*
I just played your xmas compund track, and you have the lighting way too bright to feel natural. I think that is your problem.. I would tone it down, and use the chrome luminence alpha channel to control how your track is lit.

- Jamie
Title: Re: Reflex editor - Digital Earthworks - release
Post by: aaron.270 on April 26, 2012, 06:08:48 PM
Thanks for all the hard work.
Title: Re: Reflex editor - Digital Earthworks - release
Post by: cr125 on May 01, 2012, 01:20:20 AM
when is the new update coming out
Title: Re: Reflex editor - Digital Earthworks - release
Post by: mcm2boys on May 02, 2012, 03:59:09 AM
I don't have a release date or schedule, it goes out when it's done and when possible after it's been tested by beta testers..

I am currently writing the code to translate the Reflex models into the editors format and render them, after that i need to look at handling the collision objects and then update the compiling routines to add the models/collision models to the compiled track file.


Laurie
Title: Re: Reflex editor - Digital Earthworks - release
Post by: JamieT on May 13, 2012, 01:55:22 PM
Hey Laurie,

Just wanted to report a bug/error in the editor. When I adjust the light direction on my track, it only seems to affect the bike and rider, but not the terrain. The terrain shadows are cast in the same direction, no matter where the light source is. Not a big deal, but just thought I would let you know.

Cheers,

Jamie
Title: Re: Reflex editor - Digital Earthworks - release
Post by: mcm2boys on May 13, 2012, 03:34:25 PM
Thanks Jamie, i'll take a look and see what i can do..