Jump to content
The Dark Mod Forums

newbie skybox problem


Zen3001

Recommended Posts

I never used dark radiant before and am currently just trying to get used to it's features.

 

I took a skybox from this site: http://www.custommapmakers.org/skyboxes.php, named and placed the files properly according to the wiki(http://wiki.thedarkmod.com/index.php?title=Skybox_Tutorial) except I also copied the forward facing texture, put it in textures/skies/custom an renamed it to "nightsky.tga"(this was mention on this thread: https://web.archive.org/web/20091206232215/http://www.doom3world.org:80/phpbb2/viewtopic.php?t=3571). I can find the the texture in darkradiant but when I create a skybox with it the info_portalsky always ends up leaking.

Link to comment
Share on other sites

You need a material for it to work.

FM's: Builder Roads, Old Habits, Old Habits Rebuild

Mapping and Scripting: Apples and Peaches

Sculptris Models and Tutorials: Obsttortes Models

My wiki articles: Obstipedia

Texture Blending in DR: DR ASE Blend Exporter

Link to comment
Share on other sites

Isn't that the Customskies.mtr I created in the materials folder?

Here's how it looks like:

textures/skies/custom/nightsky
{
      qer_editorimage   textures/skies/custom/nightsky.tga
   noFragment
   noshadows
   nooverlays
   forceOpaque            // so transparent windows can draw on top of it
   {
      blend      add      // so transparent windows can draw on top of it
      cameraCubeMap   env/custom/nightsky
      forceHighQuality
      texgen      skybox
      texgen         wobblesky .0 .0 .0
   }
}

If that's not it I really don't know what you're talking about

Link to comment
Share on other sites

Hum i don't really see anything wrong with your skybox material, personally i don't use the "forceHighQuality" keyword on mine, Doom3 didn't either, could that cause a problem? Btw i know a leak can be caused by this things, geometry not sealing the void, sometimes the hole is really really small and you can't see it, the origin of some entity being outside in the void, even tho the visible object is inside the level, a invisible material (like caulk) used to seal the void but without the forceOpaque keyword and so not really selling the void.

Link to comment
Share on other sites

I decided to try again creating the skybox in the same map(without modifying any of the skybox files) just like i did previously and it randomly just decides to work this time.

the only noticable thing I did was changing the grid size to 8 before creating the skybox material but I'm sure I did that in my previous tries too and I tried making the skybox again with grid siize 2 and it was still working.

 

I guess it really just randomly started to work

Link to comment
Share on other sites

I don't suppose it was random. Most likely you had a small leak due to not aligning the brushes correctly, which was fixed when you re-created them with a larger grid size. Leaks are not usually caused by materials, they are caused by having brushes that do not completely seal the interior of the map.

Link to comment
Share on other sites

 

texgen skybox

texgen wobblesky .0 .0 .0

 

AFAIR, you don't need two texgen declarations. The difference between skybox and wobblesky is that the latter can be rotated to around a given axis (x, y, z). If you don't need to translate your skybox, just use texgen skybox.

Edited by Judith
Link to comment
Share on other sites

I decided to try again creating the skybox in the same map(without modifying any of the skybox files) just like i did previously and it randomly just decides to work this time.

the only noticable thing I did was changing the grid size to 8 before creating the skybox material but I'm sure I did that in my previous tries too and I tried making the skybox again with grid siize 2 and it was still working.

 

I guess it really just randomly started to work

 

No nothing in DR is random, the cause was obviously a geometry leak, when you have a leak and the point file, red line, points to some place that seems to be fine, then it means one of two things, or some entity has its origin on the void or the hole is really tiny and you can't see it, one way to prevent this small holes is to make the brush's that will seal the void at level 8 like you discovered, one way to solve really small leaks is to select all world brush's (no need to select entities for this) bring the grid size to the lowest value 0.125, and click on "snap selection to grid", that way you solve any hole without the geometry moving away from place.

 

Btw from my experience very thin brush's can also cause light leaking, this means a light in one room shining into the adjacent room through the wall.

Edited by HMart
Link to comment
Share on other sites

i'm sure that the skyboxes were aligned correctly, (if I remember correctly) the pointfile showed me a red line going right trough the middle of a skybox material and not trough any edge, something with the material must have been wrong.

 

and also I tried erasin and recreating the skybox multiple times before in different grid sizes, it only worked when I did it after a 3 days break.

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

  • Recent Status Updates

    • OrbWeaver

      Does anyone actually use the Normalise button in the Surface inspector? Even after looking at the code I'm not quite sure what it's for.
      · 6 replies
    • Ansome

      Turns out my 15th anniversary mission idea has already been done once or twice before! I've been beaten to the punch once again, but I suppose that's to be expected when there's over 170 FMs out there, eh? I'm not complaining though, I love learning new tricks and taking inspiration from past FMs. Best of luck on your own fan missions!
      · 4 replies
    • The Black Arrow

      I wanna play Doom 3, but fhDoom has much better features than dhewm3, yet fhDoom is old, outdated and probably not supported. Damn!
      Makes me think that TDM engine for Doom 3 itself would actually be perfect.
      · 6 replies
    • Petike the Taffer

      Maybe a bit of advice ? In the FM series I'm preparing, the two main characters have the given names Toby and Agnes (it's the protagonist and deuteragonist, respectively), I've been toying with the idea of giving them family names as well, since many of the FM series have named protagonists who have surnames. Toby's from a family who were usually farriers, though he eventually wound up working as a cobbler (this serves as a daylight "front" for his night time thieving). Would it make sense if the man's popularly accepted family name was Farrier ? It's an existing, though less common English surname, and it directly refers to the profession practiced by his relatives. Your suggestions ?
      · 9 replies
    • nbohr1more

      Looks like the "Reverse April Fools" releases were too well hidden. Darkfate still hasn't acknowledge all the new releases. Did you play any of the new April Fools missions?
      · 5 replies
×
×
  • Create New...