![]() ![]() |
Aug 15 2010, 02:04 PM
Post
#1711
|
Aug 17 2010, 12:44 PM
Post
#1712
|
Aug 17 2010, 01:25 PM
Post
#1713
|
EDuke32 developer
|
(is the radius ~1/specularpower?) The specpower is an actual power applied to the dot product between the eye and the reflection vector of the light from the surface. So the highest the power is, the faster the specular highlight decays (it's always 1.0 at the perfect reflection point). From polymer.c, lines 505/506: lightSpecular = pow( max(dot(R, E), 0.0), specularMaterial.x * specTexel.a) * specularMaterial.y; result += vec4(lightDiffuse * specTexel.rgb * lightSpecular, 0.0); specTexel is all 1s if there's no specular map, specularMaterial.x is power, specularMaterial.y is factor. The names all make sense, I swear! __________________ EDuke32 - "The corrupt doctrine of terror has begun."
|
Aug 17 2010, 02:44 PM
Post
#1714
|
Pig Cop Recon
|
good stuff helix
now this spec modifying stuff, can i use that to make stuff reflective? what uses would this have? __________________ |
Aug 18 2010, 09:02 AM
Post
#1715
|
EDuke32 developer
|
specularpower and factor are for setting the base specular material of a tile and they've been supported forever through DEFs. The stuff HH added is for easy previewing of the material in mapster before writing it in DEFs (like parallaxoverride). It will make stuff look more or less shiny and glossy, but it won't reflect anything as of yet.
__________________ EDuke32 - "The corrupt doctrine of terror has begun."
|
Aug 21 2010, 06:30 AM
Post
#1716
|
|
Turret |
and my mapster continues crashing!
here is the log: Mapster32 2.0.0devel 20100521 Using C:/Daniel/Games/Outros/DN HRP/Eduke Current/ for game data Using group file 'autoload/polymer_hrp.zip'. Windows XP (build 5.1.2600) Service Pack 2w/ nedmalloc.dll Initializing DirectDraw... Loading "m32help.hlp" Switching kb layout from 00000416 to 00000409 Initializing DirectInput... - Enumerating attached game controllers - No game controllers found Uninitializing DirectInput... Initialized 16.0M cache Loading NAMES.H Read 765 lines, loaded 737 names. Loading 'duke3d.def' Warning: Failed loading MD2/MD3 model "highres/sprites/pickups/0053_firstaid.md3" Error: file 'highres/textures/0313_d.png' does not exist Error: file 'highres/textures/0313_n.png' does not exist Error: file 'highres/textures/0313_s.png' does not exist Error: file 'highres/textures/0313_g.png' does not exist Error: file 'highres/textures/0368.png}' does not exist Error: file 'highres/textures/0422_n.png' does not exist Error on line highres/textures.def:1449: expecting '{' Error: file 'highres/textures/0750_50_n.png' does not exist Error: file 'highres/textures/1024_d.png' does not exist Error: file 'highres/textures/0313_n.png' does not exist Error: file 'highres/textures/1024_s.png' does not exist Error on line highres/textures.def:2540: expecting float, got "}" warning: defined hightile replacement for empty tile 5200. Maybe some tiles???.art are not loaded? warning: defined hightile replacement for empty tile 5200. warning: defined hightile replacement for empty tile 5200. warning: defined hightile replacement for empty tile 5201. warning: defined hightile replacement for empty tile 5201. warning: defined hightile replacement for empty tile 5201. warning: defined hightile replacement for empty tile 5202. warning: defined hightile replacement for empty tile 5202. warning: defined hightile replacement for empty tile 5202. warning: defined hightile replacement for empty tile 9000. warning: defined hightile replacement for empty tile 9001. Definitions file loaded. Setting video mode 1280x960 (32-bit windowed) OpenGL Information: Version: 3.3.0 Vendor: NVIDIA Corporation Renderer: GeForce 9800 GTX/9800 GTX+/PCI/SSE2 Cache contains 620587 bytes of garbage data Initializing Polymer subsystem... PR : Board loaded. PR : Initialization complete. Loading sounds from 'game.con' Loaded 376 sound definitions. Setting video mode 1280x960 (8-bit windowed) Map error: removing sprite #1691(23744,16768) in null space. Map is corrupt! Map error: removing sprite #191(-36992,8704) in null space. Map is corrupt! Map error: removing sprite #171(-35840,-3840) in null space. Map is corrupt! Map error: removing sprite #170(-36608,-3840) in null space. Map is corrupt! Map error: removing sprite #169(-36352,-3840) in null space. Map is corrupt! Map error: removing sprite #168(-35840,-1280) in null space. Map is corrupt! Map error: removing sprite #167(-36608,-1280) in null space. Map is corrupt! Map error: removing sprite #166(-36352,-1280) in null space. Map is corrupt! Fatal Signal caught: SIGSEGV. Bailing out. Uninitializing DirectDraw... EVERY MAP CRASHES! EDIT: I use windows 7 x64, but I have to run mapster in compatibility mode. This post has been edited by Dk2: Aug 21 2010, 06:32 AM |
Aug 21 2010, 06:34 AM
Post
#1717
|
Duke Nukem Red Alert Developer
|
and my mapster continues crashing! here is the log: [Insert spam] EVERY MAP CRASHES! Read this Dk2. CLICK THIS LINK In other words you need to make that post in THIS section, not in this thread. Although I think this will be a waste of a post because I don't think you understand English at all from previous posts. __________________ ![]() https://edukeredalert.svn.sourceforge.net/svnroot/edukeredalert Revision 89 http://www.moddb.com/games/duke-nukem-red-alert Ask Me Anything! masterfaster can burn in hell This post has been edited by The Commander: Aug 21 2010, 06:36 AM |
Aug 21 2010, 07:57 AM
Post
#1718
|
|
Turret |
ok
tanks for nothing |
Aug 21 2010, 11:39 AM
Post
#1719
|
Aug 21 2010, 07:05 PM
Post
#1720
|
Octabrain
|
Oh nice!
__________________ Roland SC-55 Music Packs Website
Latest update 09/01/10: Whomp Beta OGG/MP3/FLAC available. - Oasiz's mirrors - MediaFire mirror for Duke3D expansions More SC-55 music packs coming soon... |
Aug 21 2010, 08:03 PM
Post
#1721
|
Aug 22 2010, 12:26 AM
Post
#1722
|
EDuke32 developer & Tyrant Administrator
|
Thank DanM for taking the time to figure out not only which revision broke it, but which line of the changes was the culprit.
__________________ |
Aug 22 2010, 02:58 AM
Post
#1723
|
Enforcer
|
Whooo-hoo! I'm busy today, but I'll try it out with the HUD pistol tomorrow. I'm just tweaking the animations.
|
Aug 22 2010, 06:39 AM
Post
#1724
|
|
Turret |
I'm already making the normal textures for the HUD
NOW, tell me why the hell the pistol, shotgun, freezer and chaingun don't works normal mapping? I'm pissed off ¬¬ |
Aug 22 2010, 07:01 AM
Post
#1725
|
|
Turret |
look it:
http://img844.imageshack.us/i/duke0000.jpg/ and the pistol: http://img801.imageshack.us/i/duke0001.jpg/ This post has been edited by Dk2: Aug 22 2010, 07:04 AM |
Aug 22 2010, 11:31 AM
Post
#1726
|
Aug 22 2010, 04:38 PM
Post
#1727
|
|
Turret |
yes, I use crazy-bump and photoshop to make my own textures
|
Aug 24 2010, 04:19 PM
Post
#1728
|
|
Turret |
I downloaded the latest version of Eduke, really, really good.
The FPS was 27 to 60 FPS, several bugs have been concerted! (and HUD now receive lights!) Congratulations to all team Eduke 32! =D |
Sep 5 2010, 11:32 PM
Post
#1729
|
|
Protozoid Slimer |
Maybe. I thought about it at one point and I think I decided against it because the light would need to be a spotlight (more resource intensive) and it would be horrible in usermaps where you have a bunch of those sprites going around a helipad or something like that. You could just add a tag to the engine to make it so that it either will have the effect, or it won't. Or make it use a specific palette number. I dunno, just my suggestion. |
Sep 5 2010, 11:50 PM
Post
#1730
|
EDuke32 developer & Tyrant Administrator
|
Right, but that would defeat the purpose of automatically adding lights to specific sprites found in maps.
__________________ |
Sep 6 2010, 07:11 AM
Post
#1731
|
Sep 6 2010, 01:35 PM
Post
#1732
|
Sep 6 2010, 02:27 PM
Post
#1733
|
|
Protozoid Slimer |
This is my first loadup of polymer and eduke32, so newb here..
Software: Win7 x64 Directx v11, OpenGL 3 eduke32 win32 20100831-1705 polymer hrp 132 laptop's hardware: Nvidia GTX 260M - Driver version: 258.96 Mobile Intel Core 2 Quad Q9000 @ 2ghz 6G Ram Eduke while it's running with polymer never tops out any core at above 50%, so I'm assuming it's something to do with the nvidia driver. Turning off polymer and just loading the hrp lets me run at well over 60fps, with polymer on it's probably averaging 10fps overall, if that. Definitely not playable by anyone's standards, impossible to aim/etc. Here's the eduke32.log file: CODE EDuke32 2.0.0devel 20100727 Using C:/Games/Duke Nukem 3D/ for game data Windows 7 (build 6.1.7600) w/ nedmalloc.dll Initializing DirectDraw... Searching for game data... Using 'duke3d.grp' as main game data file. Using file 'autoload/polymer_hrp132.zip' as game data. Compiling: GAME.CON (151190 bytes) Including: DEFS.CON (35992 bytes) Including: USER.CON (45482 bytes) GAME.CON: In actor `ORGANTIC': GAME.CON:3968: warning: found `else' with no `if'. GAME.CON: In state `pigshootenemystate': GAME.CON:5891: warning: found `else' with no `if'. Found 2 warning(s), 0 error(s). Resizing code buffer to 16187*4 bytes Script compiled in 20ms, 16179*4b, version 1.4+ 1918/11264 labels, 321/2048 variables 125 quotes, 207 actors Initialized 24.0M cache Loading 'duke3d.def' warning: defined hightile replacement for empty tile 9000. Maybe some tiles???.art are not loaded? warning: defined hightile replacement for empty tile 9001. Definitions file 'duke3d.def' loaded. RTS file DUKE.RTS was not found Initializing OSD... Initializing DirectInput... - Enumerating attached game controllers - No game controllers found Uninitializing DirectInput... Executing "settings.cfg" Disabling desktop composition... Setting video mode 1600x900 (32-bit fullscreen) OpenGL Information: Version: 3.3.0 Vendor: NVIDIA Corporation Renderer: GeForce GTX 260M/PCI/SSE2 Unable to open cache index: No such file or directory Initializing Polymer subsystem... PR : Initialization complete. Initializing music... Initializing sound... PR : Board loaded. Loaded map hack file '/E1L1.mhk' Cache time: 52926ms E1L1: HOLLYWOOD HOLOCAUST LARGE MEDKIT: +30 Wrote eduke32.cfg Wrote settings.cfg Uninitializing DirectDraw... |
Sep 6 2010, 02:36 PM
Post
#1734
|
Yatta's Bitch
|
Do you have any major process hogs running the background? Your system and such seems like it should run polymer without any major problems.
__________________ I'm an Ivory Tower Elitist; get used to me calling you stupid.
http://thaunandshad.com |
Sep 6 2010, 02:43 PM
Post
#1735
|
Sep 6 2010, 02:49 PM
Post
#1736
|
|
Protozoid Slimer |
Do you have any major process hogs running the background? Your system and such seems like it should run polymer without any major problems. Nothing major, no. CPU history graph on the cores dont show any usage higher than 50% on any core while it's running, which leads me to think it's some kind of driver incompatibility or something with the gpu. The gpu does heat up pretty well though, goes from ~70c idle to 80-85c while chuggin in duke. I dont have any other way to guage the load on the gpu, but I'm guessing it's at 100% or so ------------- Ok.. Very odd. Works like a champ now. I rebooted, tossed the roland sc55 pack into autoload, and turned the fps counter on. Now I'm getting 40-90fps with no problems. Got no idea, I'm sure the reboot fixed it, but I didn't change anything with my gpu settings or the game settings. I dunno, I'm happy that works great now, but if there's anything I can do to try to get to the bottom of it, let me know This post has been edited by path0s: Sep 6 2010, 06:45 PM |
Sep 7 2010, 04:25 PM
Post
#1737
|
![]() ![]() |
— sponsored links —
|
Lo-Fi Version | Time is now: 8th September 2010 - 10:33 PM || Skin by RedSplat/TX © 2004-2010 Duke4.net |