NetRadiant = Radiant 1.5 with useful q3map2 patches...

For now: Everything about NetRadiant

Moderator: Moderators

Postby Odin » Sun Dec 14, 2008 8:04 pm

I would suggest an option to hide _bump/_norm/_gloss/_glow textures as the mapper will probably not use them. I also recommend looking at the code for Tr3B's GtkRadiant fork for XreaL, as it has a dynamic lighting preview mode. You'll have to get NetRadiant to use a generic material for all shaders to fake the nexuiz automatic shaders(automatically applying _bump/_norm/_gloss/_glow textures). You could probably do it like this(pseudo xreal material but would have to be written in c code inside radiant's shader parser in implementation):
Code: Select all
<diffusemap>
{
  qer_editorImage <diffusemap>
  diffuseMap <diffusemap>
  bumpMap <normalmap>
  specularMap <specularmap>
}

XreaL uses bumpMap for normalmaps, bu only for compatibility with various map editors. It can use normalMap as well for the actual engine.
Last edited by Odin on Sun Dec 14, 2008 8:48 pm, edited 1 time in total.
}MG{Odin
Odin
Advanced member
 
Posts: 52
Joined: Wed Mar 01, 2006 5:31 pm

Postby divVerent » Sun Dec 14, 2008 8:40 pm

XreaL's radiant is quite distant from GtkRadiant 1.5, and merging that would take me ages. Need someone with more time and who is more experienced for that.
1. Open Notepad
2. Paste: ÿþMSMSMS
3. Save
4. Open the file in Notepad again

You can vary the number of "MS", so you can clearly see it's MS which is causing it.
divVerent
Site admin and keyboard killer
 
Posts: 3809
Joined: Thu Mar 02, 2006 4:46 pm
Location: BRLOGENSHFEGLE

Postby Odin » Sun Dec 14, 2008 9:42 pm

divVerent wrote:XreaL's radiant is quite distant from GtkRadiant 1.5, and merging that would take me ages. Need someone with more time and who is more experienced for that.
The GtkRadiant supplied with the XreaL SVN is almost exactly the same as 1.5 except for the dynamic light preview. It just uses GLSL to do it. You may be thinking of XrealRadiant which is very new and is becoming the official editor for Xreal. However, the GtkRadiant is still there.

IRC wrote:16:39 < Tr3B> i just use glsl
16:40 < Tr3B> ok and i use the glsl interface of qrazor-fx
16:40 < Tr3B> however it should be easy to adopt it
}MG{Odin
Odin
Advanced member
 
Posts: 52
Joined: Wed Mar 01, 2006 5:31 pm

Postby divVerent » Sun Dec 14, 2008 10:04 pm

Well, about a year ago Tr3b told me the Radiant he's using for XreaL is stripped from Q3 map support and edited at lots of places.

And Radiant 1.5 already has realtime light preview for Doom 3 maps. I just have no clue how to change that to work on Q3 maps.

Need someone to look into that, basically. I can't.
1. Open Notepad
2. Paste: ÿþMSMSMS
3. Save
4. Open the file in Notepad again

You can vary the number of "MS", so you can clearly see it's MS which is causing it.
divVerent
Site admin and keyboard killer
 
Posts: 3809
Joined: Thu Mar 02, 2006 4:46 pm
Location: BRLOGENSHFEGLE

Postby Odin » Sun Dec 14, 2008 11:37 pm

GtkRadiant in XreaL SVN can load and save Q3 maps. I have done it. It is called "Version 1", rather than "Quake 3". This is irrelevant, though. I could probably design a level for Nexuiz in XreaL GtkRadiant. All you have to do is make a diff for it(compare it to the original GtkRadiant 1.5.0 revision XreaL GtkRadiant is based off of), then find its dynamic light preview code.
}MG{Odin
Odin
Advanced member
 
Posts: 52
Joined: Wed Mar 01, 2006 5:31 pm

Postby divVerent » Mon Dec 15, 2008 8:38 am

So Tr3b lied to me?

I rephrase. Is this Radiant from XreaL running in Doom 3 mode (maybe it can convert from/to Q3 maps in that mode), or is it actually running in Q3 mode?

And I have no idea where to get that source, and "simply diff" is not possible as I have no idea which version of GtkRadiant XreaL's is based on.
1. Open Notepad
2. Paste: ÿþMSMSMS
3. Save
4. Open the file in Notepad again

You can vary the number of "MS", so you can clearly see it's MS which is causing it.
divVerent
Site admin and keyboard killer
 
Posts: 3809
Joined: Thu Mar 02, 2006 4:46 pm
Location: BRLOGENSHFEGLE

Postby Alien » Mon Dec 15, 2008 9:46 am

Xreal is now using DarkRadiant from DarkMod. http://darkradiant.sourceforge.net/
DarkRadiant is yet another fork of GTKRadiant.
Alien
Forum addon
 
Posts: 1212
Joined: Tue Apr 22, 2008 7:12 am

Postby divVerent » Mon Dec 15, 2008 10:13 am

Too bad that version is unusable for Q3 maps too.
1. Open Notepad
2. Paste: ÿþMSMSMS
3. Save
4. Open the file in Notepad again

You can vary the number of "MS", so you can clearly see it's MS which is causing it.
divVerent
Site admin and keyboard killer
 
Posts: 3809
Joined: Thu Mar 02, 2006 4:46 pm
Location: BRLOGENSHFEGLE

Postby Alien » Mon Dec 15, 2008 10:41 am

There is still Tr3b's patched version of GTKRadiant Odin is talking about, but it seems it is rather abandoned now.
Alien
Forum addon
 
Posts: 1212
Joined: Tue Apr 22, 2008 7:12 am

Postby divVerent » Mon Dec 15, 2008 11:54 am

Also, I really doubt the lighting preview code of that helps AT ALL, as it is also in GtkRadiant 1.5. It can only be used in Doom 3 mode. The real thing to do would be making it support Quake 3 mode too. And I have no clue about that part (or even why it does nothing in Quake 3 maps at all).
1. Open Notepad
2. Paste: ÿþMSMSMS
3. Save
4. Open the file in Notepad again

You can vary the number of "MS", so you can clearly see it's MS which is causing it.
divVerent
Site admin and keyboard killer
 
Posts: 3809
Joined: Thu Mar 02, 2006 4:46 pm
Location: BRLOGENSHFEGLE

PreviousNext

Return to NetRadiant - General Discussion

Who is online

Users browsing this forum: No registered users and 1 guest

cron