Jump to content

SomaZ

Members
  • Posts

    420
  • Joined

  • Last visited

Everything posted by SomaZ

  1. We had a talk about this over on discord. It boils down to: GtkRadiant wasn't configured correctly and shader file name was not added to the shaderfiles.txt file in the shaders folder under base.
  2. I just had a look with my WIP version of my Bsp editor, which will have some additional features. The problem is that bsp surfaces get one fog assigned. If it isn't it simply won't draw. A global fog would take place. It's also not just the door, but also the rotating fan that doesn't have the correct fog assigned. I'll try finishing some parts of my bsp editor and then we can try fixing the problem with that.
  3. SomaZ

    Rend2 Setup UI

    You have to replace all old OpenJK files with the new ones from my repository. The communication between the game and the renderer has changed in my latest version, so it bascially cant "talk" with the old versions of the engine.
  4. I just added (with the help of antired/AntiAnti ❤️ ) rend2 builds for OpenJK SP and OpenJO SP to my GitHub repository. Would be great if I could get some feedback if everything works correctly or not.

    Heres the link:
    https://github.com/SomaZ/OpenJK/releases

    1. Ramikad

      Ramikad

      Lovely.

      Seriously, this brings so many dirty thoughts to my mind. And by dirty, I mean Thrawn Trilogy and the likes.

  5. Yea, I used this addon: https://github.com/c-d-a/io_export_qmap I used blender to blockout everything. Later, once I've added all the models, I build collision brushes for the models in Radiant though. Building brushes in blender is a huge pain tbh. Wouldn't recommend it. Extruded terrain is something different, I would never do this in radiant agian but always with the addon I linked.
  6. Yea, I will release some of the sources when I had some time to tidy them up. One essential part for rend2 is just modern asset creation. I can't really teach that. Though there are lots of resources online for it. I planned on doing some tutorials on some things like: "How to properly bake normal maps for rend2","How and where do I place cubemaps and what do they actually do?" or "What are deluxemaps and why should I bother?" All the blender lighting/mapping stuff I'm still figuring out myself tbh. Theres some kind of workflow, but I think I could potentially streamline this much more, make it less error prone etc. Main problem about that is that I really dont have much time right now and it will just get less end of october. Trying to teach as much as possible to others and helping where I can.
  7. So, I started baking the remaining textures for the vanilla mp/duel1 map. Once I've finished the remaining ones, I'll update the download.
  8. So this is intended to be some "behind-the-scenes" and/or feedback thread for the released Bespin Duel Reborn mod, which you can grab here: The idea behind this mod is simple: I need something to show the modern rend2 features. Duel1 is quite small, so lets just remake this. Easy Like so often in life, things aren't as easy as they seem at first glance. I imported the original duel1 map into blender and realised that this will take quite some time to actually remake the complete map. This is like redoing 40 materials and rend2 requires Albedo/BaseColor textures, normal maps, roughness maps, metalness maps, ambient occulsion maps and in some cases hight maps. Uff. Since most of the walls are based on the same materials, I created one material from scratch. This material I repurposed as a master material in substance designer. All other wall materials are based on this master material. Here are some images when I was testing the first iterations of the textures in-game After finishing all the materials I wanted to replace completely, I started modeling all the missing parts of the map. After that I started building the new map. After I added all the materials and models to the map, I started working on the lighting in blender. The first iteration of a lighted map looked like this I worked on a proper sky for a night time version of the map, but was never really satisfied, so I started working on a day time version instead Last few edits for the materials and some adjustments to the lighting If you are interested in more details of some of the workflows or if you want to know more about a specific model or material, feel free to ask.
  9. Hey Lancelot. Thank you for your kind words. Just wanted to know if you actually tried using rend2 or if you "just" assume your PC can't handle it? Would be interested in your pc config (if thats ok for you) if you have tested it and it doesn't work properly.
  10. Version 1.1

    340 downloads

    WINNER of the Anniversary Mod Contest 2023 This adds a complete rework of the duel1 jedi academy map. This is build to showcase rend2 features. The vanilla game should also be able to run this, but I didn't put too much effort into the vanilla lighting. To take full advantage of the maps features you need to install and run rend2. Everything has been rebuild from scratch. Textures were made with Substance Painter and Designer. Models and Lighting were made in Blender. Credits: Activision, Raven, LucasArts for the original map, Doughnuts for some help with the highpoly model of the lanterns Known Bugs: None that I'm aware of (yet ). There are some materials for the original duel1 map that I haven't baked yet, so vanilla duel1 will look a bit strange with the mix of vanilla materials and rend2 materials. Will fix this when I have some time. Comments: Many thanks for all the feedback to all the awesome testers: mjt, Stoiss, Artemis, Circa, Mat Gaunt, SephFF, Bucky, tayst and Mace * How to install * Install and configure rend2 first. Then just extract the .pk3 into the GameData/base in your game directory. Get latest the rend2 version here: https://github.com/SomaZ/OpenJK/releases If you already have a recent version of OpenJK installed, you can simply grab the "rd-rend2_x86.dll" from the latest release and put it next to your openjk.exe. For easier rend2 configuration I recommend using the following mod
  11. This is a small list of available cvars if you have the rend2 renderer installed. Open the console and use the following commands to configure rend2. cl_renderer = {rd-vanilla, rd-rend2} # Use the vanilla OpenJK MP renderer or rend2 (OpenJK MP only) cl_renderer = {rdsp-vanilla, rdsp-rend2} # Use the vanilla OpenJK SP renderer or SP rend2 (OpenJK SP only) cl_renderer = {rdjosp-vanilla, rdjosp-rend2} # Use the vanilla OpenJO SP renderer or JO SP rend2 (OpenJO SP only) r_hdr = {0, 1} # Disable/enable rendering in HDR colorspace r_floatLightmap = {0, 1} # Disable/enable HDR lightmaps and skies on maps with hdr lighting support r_toneMap = {0, 1} # Disable/enable tonemapping r_autoExposure = {0, 1} # Disable/enable auto exposure r_normalMapping = {0, 1} # Disable/enable normal mapping r_specularMapping = {0, 1} # Disable/enable specular mapping r_deluxeMapping = {0, 1} # Disable/enable reading deluxemaps when compiled with q3map2 r_deluxeSpecular = [0, 1] # Disable/enable/scale the specular response from deluxemaps r_parallaxMapping = {0, 1} # Disable/enable parallax mapping r_cubeMapping = {0, 1} # Disable/enable cubemapping r_cubeMappingBounces = {0, 1, 2} # Renders cubemaps multiple times to get reflections in reflections r_genNormalMaps = {0, 1} # Disable/enable generating normal maps from diffuse maps r_ssao = {0, 1} # Disable/enable screen space ambient occlusion cg_shadows = {0, 1, 2, 4} # Disable Shadows, blob shadows, stencil shadows, shadowmap shadows (4 requires a vid_restart to take effect) EXPERIMENTAL CVARS r_dlightmode = {0, 1, 2} # Disable/enable dynamic lights, 2 will also enable shadow mapping for dynamic lights NICE TO HAVE CVARS r_ext_multisample = {0, 2, 4, 8} # MSAA multisampling (also works in vanilla renderer) r_marksOnTriangleMeshes = {0, 1} # Disable/enable saber marks on triangle surfaces of the map If you don't want to fiddle around with the cvars manually, you can also use my UI mod which maps most of the cvars to ui elements.
  12. Version 1.1

    202 downloads

    Description: With this simple UI mod you can switch between the OpenJK vanilla renderer and the rend2 renderer (not included). You can also configure some of the advanced features with the UI directly. Known Bugs: This wont work in combination with other UI mods, except for other fonts, that should be fine. Comments: This requires OpenJK and the rend2 renderer dll. You can download the latest rend2 build here: https://github.com/SomaZ/OpenJK/releases * How to install * Just extract the .pk3 into the GameData/base in your game directory.
  13. In your latest example the line must be surfOn "torso_galaktorso_off torso_collar_off torso_galakface_off torso_eyes_mouth_off torso_galakhead_off" Single arguments dont need quotation marks, multiple arguments must use them like above demonstrated. But this still won't work in JA because you need to use the .skin file instead. Or maybe both is required?
  14. Aren't we completely on the wrong track here? The mod is used in JA not in JO right? If I understand it correctly, JA uses the .skin file for visability and not the npc file?
  15. Have you tried this? surfOn "torso_eyes_mouth_off torso_galakhead_off" surfOff "helmet torso_galakface_off"
  16. For everybody who has downloaded the BSP Entity Edit tool prior version 1.0.2, pls update to the latest version as there was a severe bug I fixed now. The old versions of the tool altered patch meshes to be more flat. Sorry for the inconvenience.

  17. SomaZ

    BSP Entity Edit

    Found a major bug thanks to you. All patch meshes are altered on save, sorry for that. This needs fixing asap. Will work on this the next days
  18. SomaZ

    BSP Entity Edit

    The new update should fix most of your problems, like some shading for unlit maps and a reworked camera control implementation.
  19. SomaZ

    BSP Entity Edit

    Yea, the tool doesn't load textures at all. Tried to keep it as simple as possible, for the sake of load and rendering times. I'll add some kind of shading so one can see the different surfaces without a light compile in the next version. I'll also look into the camera controls. Wrote the tool in 5 days, so it's a bit rushed. Thanks for the feedback
  20. SomaZ

    BSP Entity Edit

    Yea, unfortunately this is quite common with packed python software. Hence the describtion to build it yourself or run it in a python environment. Windows Defender usually flags all software that hasn't been submitted to them as malicious. I can assure you that the part that I've written doesnt contain any malicious code. I also looked into the pyopengltk code which is also fine. The other librarys I used (numpy and ctypes) are incredibly common in python dev and they are used aross thousands of project. This gives me great confidence in saying that the .exe I build is not a virus. I will look into getting in touch with Microsoft to make Defender like the provided .exe. Sorry for the inconvenience
  21. Version 1.0.2

    170 downloads

    Description: This is an id tech 3 bsp entity editor. It can render opened bsp files with vertex colors, you can pick entities in the render with a simple click, you can edit the entity string, you can save the bsp file afterwards or choose to save as .ent file instead. The preview is updated when you click the button under the viewport. Credits: illwieckz for some lines of code, Jon Wright for pyopengltk, Insidious for his simple text editor tutorial Source: https://github.com/SomaZ/BSP-Entity-Edit Viewport Controlls: W - Move camera forward A - Move camera to the left S - Move camera backwards D - Move camera to the right SPACE - Move camera upwards C - Move camera downwards LMC - Select Object under the cursor RMC Hold and Drag - Rotate view Mouse Scrolling - Move camera forwards or backwards H - Hide currently selected entity Alt-H - Unhide all entities ESC - Deselect entity * How to install * I build an exe for ease of use. It's build via pyinstaller with following command: pyinstaller --noconfirm --onefile --windowed --name "BSP Entity Edit" --add-data "C:/Users/.../Desktop/BspEntityEdit/pyidtech3lib;pyidtech3lib/" --hidden-import "numpy" --hidden-import "ctypes" --hidden-import "pyopengltk" --add-data "C:/Users/.../Desktop/BspEntityEdit/edit_menu.py;." --add-data "C:/Users/.../Desktop/BspEntityEdit/file_menu.py;." --add-data "C:/Users/.../Desktop/BspEntityEdit/format_menu.py;." --add-data "C:/Users/.../Desktop/BspEntityEdit/help_menu.py;." --add-data "C:/Users/.../Desktop/BspEntityEdit/ogl_fbo.py;." --add-data "C:/Users/.../Desktop/BspEntityEdit/ogl_frame.py;." --add-data "C:/Users/.../Desktop/BspEntityEdit/ogl_objects.py;." "C:/Users/.../Desktop/BspEntityEdit/main.py" I included the full source code, so you can build it yourself or run it in your python environment of your choice. You need to install following packages to run the code: numpy, ctypes, pyopengltk Tk must be installed too, but usually it's part of the standard python install You can run the code afterwards with: python main.py Supported games (or at least tested game bsp files): Star Wars Jedi Outcast Star Wars Jedi Academy Star Trek Elite Force Quake 3 Xonotic
  22. Looking very good so far! Be warned that jedi academy lighting can actually just darken your diffuse images though. Just because it is often just mutliplied and lightmaps and diffuse images are in 8bit (per channel) color depth. If you are interested I could show you how to use a blender addon that I've written to properly bake lighting with blender. I could also offer help if you are interested in providing rend2 support with your maps. Blender addon in action: Old version of rend2 in action:
  23. I just released the first verison of rend2 in a very long time. I've been busy with fixing and reworking alot of things. The weather system is fully functional now as also alot of other things. You can grab the latest release here: https://github.com/SomaZ/OpenJK/releases Changelog: - MSAA antialisaing cvar changed to r_ext_multisample which is the same as in the vanilla openjk renderer - Added external hdr lightmap support - Added autoload of images with following suffix "_specGloss", "_rmo" and "_orm" - Realtime sun shadows won't flicker anymore when the player is moving around - Some fixes regarding the HDR rendering pipeline (means rendering in hdr colors, but there's no HDR display support (and never will because OpenGL)) - Thanks to @Almightygirfor contributing a velvet shader (you can use it per shader stage, just add a 'cloth' to it (same as with glow or detail)) and fixes regarding pbr shading - Added a shader stage keyword to "pull out" parallax mapped surfaces ('parallaxBias [0.0 ... 1.0]', you can easily test this with r_forceParallaxBias [0.0 ... 1.0]) - Added mikkTSpace for normal mapping (means baking normal maps in blender or substance will result in the same shading in rend2 now) - Fixed rendering cloud layers - Fixed wrong camera exposure on maps with sky portals - Fixed alot of problems regarding fog - Added flare rendering back - Added most features back to surface sprites (only thing missing afaik is wind handling, swaying is implemented though) - Speed up rendering dynamic lights with parallax occusion mapped surfaces by alot - Added distortion rendering back (invicibility sphere, push/pull sphere) - Added glass shattering back - Added ghoul2 sabermarks back - Added r_showTris 1 back - Fixed a crash regarding md3 model caching - Lots of other small things I think that's all for now. Some WIP pictures of my bespin duel remake with hdr lightmaps
  24. That is not a thing. Q3map2 assignes lightstyles to surfaces, not entities. The entities are just linked by target and targetName keys in the triggers and target entities. So, as long as theres the keys intact, this shouldn't be a problem at all. Sounds more like q3map2 just clears the lightstyles on the corresponding surfaces. @KyleFanwould you mind sending me your patched bsp file in a dm? This would make the debugging process much easier.
  25. Might be a compiler bug or something like that. I'm not entirely sure how triggering lightstlyes works, but it looks like its using the actual light entities. Those are usually removed on compile in newer versions of q3map2. I guess, you did an ents only compile to add your "level change" entity. You might want to try doing this again, but add a "_keeplights" "1" to your worldspawn before. Else, we could try adding the entity via my blender addon to the bsp and see if the problem still exists.
×
×
  • Create New...