Jump to content
The Dark Mod Forums

3d Camera changes


Recommended Posts

I had two ideas for the 3d camera views.

 

idea 1) Optimization idea:

I was watching my brother mess around with Halflife 2's Hammer editor; I noticed they have a really interesting optimization process to prevent slowdown. When the camera is a specific distance from an entity it doesn't render it in wireframe, instead it turns it into a box, (like playerstart looks like). This would probably really help rendering times especially for large maps with lots of models in them. Even with S.L. I know it would help.

 

Example: Say you are editing S.L. and you are modifying only the street area. The renderer would render all the models in the church as solid color boxes rather than their true wire frame models. Result would be less giant slow downs when moving the camera around. Perhaps if possible, in the background after the initial loading of the map the program can secretly load the textures and wireframe models of objects that need to be rendered, and it wouldn't do this when the program is minimized as to prevent the program from slowing other things down.

 

idea 2) Color code path entities:

I'd much prefer to see different colors for the path nodes. For example, a path node wait should be a different color than a path node turn and a different color than a path node move ect ect.

Link to comment
Share on other sites

idea 1) Optimization idea:

I was watching my brother mess around with Halflife 2's Hammer editor; I noticed they have a really interesting optimization process to prevent slowdown. When the camera is a specific distance from an entity it doesn't render it in wireframe, instead it turns it into a box, (like playerstart looks like). This would probably really help rendering times especially for large maps with lots of models in them. Even with S.L. I know it would help.

Yes, this sounds similar to the tracker entry SneaksieDave mentioned. I guess this is feasible, but beware that the "cubic clip" feature already takes care of distant objects in DarkRadiant by default, so the "always render models as wire-frames or boxes" solution might be the more effective one.

 

idea 2) Color code path entities:

I'd much prefer to see different colors for the path nodes. For example, a path node wait should be a different color than a path node turn and a different color than a path node move ect ect.

The entity colours for the path nodes can be customised in the def files (but beware that this change affects everybody).

 

DarkRadiant just parses the "editor_color" spawnarg and uses that as colour (inheritance is considered).

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.
      · 2 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...