Duke4.net Forums: EDuke32 2.0 and Polymer! - Duke4.net Forums

Jump to content

  • 213 Pages +
  • « First
  • 81
  • 82
  • 83
  • 84
  • 85
  • Last »
  • You cannot start a new topic
  • You cannot reply to this topic

EDuke32 2.0 and Polymer!  "talk about the wonders of EDuke32 and the new renderer"

User is offline   Helixhorned 

  • EDuke32 Developer

#2450

OK, point taken. What I'll do then is to collapse all such instances into one. The slope inconsistencies are absolutely harmless, and there is a way to judge the severity of the others: every one has a 'corruption level', which should be read like this:
5 -- run for your life (clearly invalid values that can lead to a crash)
4 and 3 -- very serious and serious
2 and 1 -- warnings
Right now, only the maximum is reported though.
0

User is offline   ReaperMan 

#2451

So is there any chance of polymer getting voxel support? :(
0

User is offline   TerminX 

  • el fundador

  #2452

No, not really.
0

User is offline   ReaperMan 

#2453

View PostTX, on 11 September 2011 - 02:46 PM, said:

No, not really.

:(
0

User is offline   Hendricks266 

  • Weaponized Autism

  #2454

View PostReaperMan, on 11 September 2011 - 01:29 PM, said:

So is there any chance of polymer getting voxel support? :(

View PostTX, on 11 September 2011 - 02:46 PM, said:

No, not really.

Posted Image
2

User is offline   Jimmy 

  • Outta jail, back in rehab

#2455

Well that's a bummer. I have no reason to develop my projects with polymer in mind.
0

User is offline   Danukem 

  • Duke Plus Developer

#2456

^Nice.

EDIT that was supposed to be pointing to hendricks266' post
0

User is offline   Plagman 

  • Former VP of Media Operations

#2457

View PostCaptain Awesome, on 11 September 2011 - 08:29 PM, said:

Well that's a bummer. I have no reason to develop my projects with polymer in mind.


If you have no interest in Polymer, why care about it supporting voxels at all? Models _are_ a superset of voxels as they're implemented in BUILD, so there's really no reason to use them over models.
2

User is offline   Hendricks266 

  • Weaponized Autism

  #2458

In IRC, it was determined that Plagman will not waste his time with voxels, as predicted by TX the infallible predictor. Plagman should spend what little free time he has doing more important things than voxels. That leaves the responsibility likely to me, so you might be waiting Forever. :(
0

User is offline   Tea Monster 

  • Polymancer

#2459

Voxels? Dude, this is the 21st Century!
0

User is offline   3D Master 

#2460

 Tea Monster, on 11 September 2011 - 11:41 PM, said:

Voxels? Dude, this is the 21st Century!


Voxels are coming back:

http://www.youtube.c...feature=related
http://www.youtube.c...feature=related
http://www.youtube.c...feature=related
http://www.youtube.c...feature=related

Remember; that's all software rendered, since graphics hardware doesn't have voxel support today.
0

User is offline   Tetsuo 

#2461

Well I've been getting the latest SVN code to compile every time I notice changes in SVN but full screen doesn't work yet on my Lion OS X with ATI card... but everything else seems OK.
0

User is offline   Plagman 

  • Former VP of Media Operations

#2462

View Post3D Master, on 12 September 2011 - 12:11 AM, said:

Voxels are coming back:

http://www.youtube.c...feature=related
http://www.youtube.c...feature=related
http://www.youtube.c...feature=related
http://www.youtube.c...feature=related

Remember; that's all software rendered, since graphics hardware doesn't have voxel support today.


Yes, volume rendering is definitely the future. However, the way BUILD lets you do it is just a tiny subset of models, so of no relevance here. Also, you're very naive if you think this isn't GPU-accelerated. Graphics hardware is programmable enough to be able to pull that off these days.
0

User is offline   Plagman 

  • Former VP of Media Operations

#2463

View PostTetsuo, on 12 September 2011 - 12:23 AM, said:

Well I've been getting the latest SVN code to compile every time I notice changes in SVN but full screen doesn't work yet on my Lion OS X with ATI card... but everything else seems OK.


Things like fullscreen and mode management are handled by SDL rather than code in EDuke32 itself. Maybe the prebuilts from rhoenie used a different frontend than just the stock SDL one? Do you still get the fancy Mac startup window with your built binaries?
0

User is offline   Tetsuo 

#2464

Nope, I don't get any startup window... Also, what I did was I built the binaries and then replaced the ones in the .app file from Rheonie.. up until recently the fullscreen worked just fine this way when others would build the game like Helixhorned. Now when I try to set it it says failed even when I try to start it up in a window and THEN switch to full screen via alt+enter.

BTW, all the .app file is is a folder with a certain structure with a .plist file that defines the executable to launch when you double click the folder.

Unable to set video mode!
Failed setting fullscreen video mode.
Load tile 2492: p0-m4-e0 highres/screen/menu/2492_ver.png... 37 ms
PR : Failed to compile GPU program with bits 528449!
PR : Compilation log:
2ÂÌ¥
PR : Vertex source dump:
2ÂÌ¥
PR : Fragment source dump:
2ÂÌ¥


Is what gets spammed in the log... btw.

Running the binary by itself makes no difference.... I just tested that out. I even tried pulling the binaries out of the .app folder structure but that makes no difference to the fullscreen either.

I downgraded it to the last build Helixhorned had uploaded (eduke32-osx-1934) and fullscreen works there. The downside is I don't get the other fixes by running an older build.

By the way I wasn't getting the startup window with Helixhorned's build either.

This post has been edited by Tetsuo: 12 September 2011 - 08:31 AM

0

User is offline   3D Master 

#2465

View PostPlagman, on 12 September 2011 - 06:42 AM, said:

Yes, volume rendering is definitely the future. However, the way BUILD lets you do it is just a tiny subset of models, so of no relevance here. Also, you're very naive if you think this isn't GPU-accelerated. Graphics hardware is programmable enough to be able to pull that off these days.


Letting the GPU run a software renderer isn't hardware dedicated to voxel rendering.
0

User is offline   Plagman 

  • Former VP of Media Operations

#2466

You won't ever get that; there's less and less stuff dedicated to polygons left in modern graphics hardware, but that doesn't make polygon graphics less hardware accelerated. Generic progress will be made that will enable volume renderers to be faster and more powerful, but you won't get "voxel accelerators". You already have SVO raycasters running efficiently on the GPU, utilizing them to their full capacity; I don't know why you'd call that software-rendered. By your logic, should we call anything that uses shaders software-rendered because it runs on programmable hardware?
0

User is offline   DukeFTW 

#2467

Looks awesome as always.
0

User is offline   Plagman 

  • Former VP of Media Operations

#2468

I committed a fix that enables backface culling for models. That should buy us some performance overall, but most importantly fix the visual glitches that people were experiencing with certain models (WGR2 fence). However, the HRP fence needs to be fixed to be facing the right way. I think it was Roma's model?
1

User is offline   Hendricks266 

  • Weaponized Autism

  #2469

View PostPlagman, on 17 September 2011 - 11:21 PM, said:

However, the HRP fence needs to be fixed to be facing the right way. I think it was Roma's model?

Yes, it's Roma's model. He also needs to modify it for these three tiles from Nuclear Winter:

Posted Image --> Posted Image Posted Image Posted Image

/hijack
0

User is offline   Roma Loom 

  • Loomsday Device

#2470

mkay
0

User is offline   Jimmy 

  • Outta jail, back in rehab

#2471

View PostPlagman, on 11 September 2011 - 09:47 PM, said:

If you have no interest in Polymer, why care about it supporting voxels at all? Models _are_ a superset of voxels as they're implemented in BUILD, so there's really no reason to use them over models.

You misconstrue my post. I actually had an interest in shifting the project toward Polymer, but I was waiting on implementation of voxel support. I plan for voxels to be a mainstay of the visuals for the mod. I value their graphical appearance, and that is the reason to use them over models. Models aren't pixellated as voxels are.

View PostTea Monster, on 11 September 2011 - 11:41 PM, said:

Voxels? Dude, this is the 21st Century!

Duke Nukem 3D? Dude, this is the 21st Century!
0

User is offline   Plagman 

  • Former VP of Media Operations

#2472

That means you missed my point, then. If it's the graphical appearance you're after, you can have models that look exactly like voxels. However you can't have voxels that look like models. That's why models are a superset of voxels: they can provide everything that voxels can, and more should you need it. If you don't need/want it, you're free not to use it. You can have something Polymer-based that looks like that if that's what you're into:

Posted Image
0

User is offline   Jimmy 

  • Outta jail, back in rehab

#2473

I don't know of any KVX to MD3 converter, but you're welcome to show me one.
0

User is offline   Hendricks266 

  • Weaponized Autism

  #2474

One more factor I haven't mentioned before is that you can enable and disable voxels separately from models and textures in-game, which is something that you will lose if we are forced to define voxels as models.

BUILD Engine History:

Quote

01/29/1996: Duke Nukem 3D 1.0 Released
02/08/1996: Added VOXEL support (.KVX files)

0

User is offline   Plagman 

  • Former VP of Media Operations

#2475

Your first point hardly matters, and your second point.. why does it seem like you're trying to prove that I'm supposed to implement voxel support while I've already stated numerous times that I wasn't going to? It doesn't seem like a good use of your time; why don't you go and write a KVX -> MD3 converter? This way everyone will be happy, and the logic you need is already all in polymost.c.
0

User is offline   Danukem 

  • Duke Plus Developer

#2476

Are you changing sides on this issue, Hendricks266?

My view is that while voxel support would be nice -- if it could be implemented in a way that wasn't horrible (an important qualification that Plagman doesn't think can be met)-- we can live without it and there are more important things to worry about:

http://forums.duke4....dpost__p__88492

View PostPlagman, on 31 May 2011 - 09:39 PM, said:

Things that needs to be done:
- Move the diffuse modulation from the material to the vertex attribute. That would cause the amount of different materials in a map to be all the different tiles used, instead of the more complex tile X shade.
- Move plane vertex attributes from several unique vertex buffers to a single storage or several depending on the staticness of the data.
- With a more reasonable material count and stuff sharing buffers, we can start batching planes together. To leverage that, throw planes into material buckets instead of rendering them right away. When we're done building index buffers for the buckets, submit them in one big go (one per material).
- Change the HSR walking to do a first pass before doing the actual shaded drawing. This means that in the event that occlusion queries have to be reaped, we can get the result a lot faster since we're pushing a lot less pixels using a passthrough fragment program.
- For rendering the shadow maps, we only need materials for sprite silhouettes. The rest can be batched in a single draw call after building the right index buffer, same as above. This will be a lot faster.

(Even) bigger projects:
- Defer the lighting model to shade from a fat buffer instead of inline. This eliminates two very expensive steps, light culling and multi-pass drawing.
- Instance models together.


The importance of the Polymer overhaul dwarfs the importance (if any) of adding voxels to Polymer or anything else Polymer related we talk about around here. If it doesn't run well, then the other stuff is moot. Having said that: yes, it can be made to run well right now, but it takes a decent rig and maps that aren't very complex and/or don't have lots of lights.
0

User is offline   Jimmy 

  • Outta jail, back in rehab

#2477

And actually, thinking about it, I don't think an MD3 could properly convey the appearance of a voxel, nor would it's application be optimal for the engine. Me thinks a small voxel would take tons and tons of polygons to look proper.
0

User is offline   Hendricks266 

  • Weaponized Autism

  #2478

View PostDeeperThought, on 19 September 2011 - 08:06 PM, said:

Are you changing sides on this issue, Hendricks266?

No.

View PostPlagman, on 19 September 2011 - 08:00 PM, said:

why don't you go and write a KVX -> MD3 converter? This way everyone will be happy, and the logic you need is already all in polymost.c.

Yeah.
0

User is offline   Plagman 

  • Former VP of Media Operations

#2479

View PostCaptain Awesome, on 19 September 2011 - 08:15 PM, said:

And actually, thinking about it, I don't think an MD3 could properly convey the appearance of a voxel, nor would it's application be optimal for the engine. Me thinks a small voxel would take tons and tons of polygons to look proper.

Please qualify point #1 beyond what "you think", because I can't read your mind. I think it can, and I like to think what I think is closer to the truth than what you think. =)

Point #2 shows how much attention you've been paying to this whole debate; you just chimed in to hate on Polymer but have no idea what's actually going on, nor any actual intention of porting any "projects". To make it perfectly clear, let me reiterate a few important things: the way voxels work in Polymost is by doing exactly this, namely to convert a perfectly good volume set into a polygonal model, resulting in tons of geometry being generated in a suboptimal fashion. What they're asking me is to port this fucked up process over to Polymer. What I'm saying is that it's fucking retarded, and that while I might implement first-class volume rendering capabilities into Polymer at some point in the distant future there's much more critical work to be done first as DT pointed out. Going with the same half-assed hack that Polymost has would be stupid. There's already so much bloat going on in EDuke32, the last thing it needs is (another..) built-in converter that converts all your voxels into models every time you start the goddamn game. If you do the conversion offline, you save tons of CPU cycles when loading the game and it gives you the option to touch up your model after it's done and unlocks a whole range of shit that you're free to not use if you have an old-school fetish, and I respect that since as you said it would be hypocritical to dismiss that on a forum board that talks about Duke Nukem fucking 3D, of all things.

If anything, we should be removing similar idiocy going on in EDuke32. People should convert their MD2s once and be done with it, and we can remove a whole expensive conversion step and rotting codepaths that constantly introduce bugs. The voxel code in Polymost has all these things and then more weird rendering quirks that behave only slightly differently from models, giving more weird shit to modders to think about when they're trying to get things done. All the Polymer model preprocessing crap should also be thrown into an external tool that only does it once instead of taking half a minute spinning your CPU whenever you start the game with the HRP.
1

Share this topic:


  • 213 Pages +
  • « First
  • 81
  • 82
  • 83
  • 84
  • 85
  • Last »
  • You cannot start a new topic
  • You cannot reply to this topic


All copyrights and trademarks not owned by Voidpoint, LLC are the sole property of their respective owners. Play Ion Fury! ;) © Voidpoint, LLC

Enter your sign in name and password


Sign in options