User:Mai X: Difference between revisions

From OniGalore
Jump to navigation Jump to search
m (Spelling, again...)
m (marking dead links so they don't produce errors with my link-checking script)
Line 1: Line 1:
Hi! I'm just a 17 years old girl from Russia. I'm new to Oni Community, but I really love this game! Currently I'm trying to explore GeySer's [[Lightmapping levels|lightmapping method]] with new software.
Hi! I'm just a 17 years old girl from Russia. I'm new to Oni Community, but I really love this game! Currently I'm trying to explore GeySer's [[Lightmapping levels|lightmapping method]] with new software.


Second ''Objective'' ^_^ of my work is to change level geometry a bit (but it is not random changing). I'm trying to re-create look&feel of PRE-Beta levels, but this project is just starting right now (and not really successfully). The only improvement (not counting Lightmaps) that stays in Work-In-Progress stage is Transparent Railings in TCTF HQ (as [[Pre-beta content#TCTF Regional Headquarters|here]], in '''"The Atrium"''' section). When I'll finish it, I'll upload the resulting images and compressed ''7-Zip'' file with level to my [https://drive.google.com/drive/folders/15TFIcpFH-cSB6A9dLB2S67dlmKPQybPB?usp=sharing G-Drive].
Second ''Objective'' ^_^ of my work is to change level geometry a bit (but it is not random changing). I'm trying to re-create look&feel of PRE-Beta levels, but this project is just starting right now (and not really successfully). The only improvement (not counting Lightmaps) that stays in Work-In-Progress stage is Transparent Railings in TCTF HQ (as [[Pre-beta content#TCTF Regional Headquarters|here]], in '''"The Atrium"''' section). When I'll finish it, I'll upload the resulting images and compressed ''7-Zip'' file with level to my G-Drive (<nowiki>https://drive.google.com/drive/folders/15TFIcpFH-cSB6A9dLB2S67dlmKPQybPB?usp=sharing</nowiki>, dead link).
[[Image:Mai X user page.png|thumb]]
[[Image:Mai X user page.png|thumb]]
<br>
<br>
Line 18: Line 18:
* [https://blenderartists.org/t/global-illumination-in-eevee-vs-cycles/1156594 Global Illumination in Cycles] (instead of original Radiosity) - this is new feature in Blender which uses emissive materials. We need it because Radiosity was removed from Blender since v2.50.
* [https://blenderartists.org/t/global-illumination-in-eevee-vs-cycles/1156594 Global Illumination in Cycles] (instead of original Radiosity) - this is new feature in Blender which uses emissive materials. We need it because Radiosity was removed from Blender since v2.50.
* [https://youtu.be/_yczciMYv4Y Multi-Tile UV or UDIM UV tutorial] - UDIM UVs are used for applying '''multiple''' textures to '''one''' object with '''one''' UV channel. This technology can be used instead of Multi-Lighmapping script. That original Multi-Lightmapping script is gone.
* [https://youtu.be/_yczciMYv4Y Multi-Tile UV or UDIM UV tutorial] - UDIM UVs are used for applying '''multiple''' textures to '''one''' object with '''one''' UV channel. This technology can be used instead of Multi-Lighmapping script. That original Multi-Lightmapping script is gone.
* [https://github.com/AsgerSuhr/UDIM_baking UDIM Baker addon] (also avaliable [https://drive.google.com/file/d/17KTfyu3kDGb5jbg5k2Gql_1RXyMySzoV/view?usp=sharing here], on my [https://drive.google.com/drive/folders/15TFIcpFH-cSB6A9dLB2S67dlmKPQybPB?usp=sharing G-Drive]) - This is an essential part of working with UDIMs. You cannot bake all UDIM tiles with regular '''Bake''' button in Blender. So this addon brings the ability to bake all UDIM tiles with just one click.
* [https://github.com/AsgerSuhr/UDIM_baking UDIM Baker addon] (also avaliable here (<nowiki>https://drive.google.com/file/d/17KTfyu3kDGb5jbg5k2Gql_1RXyMySzoV/view?usp=sharing</nowiki>, dead link), on my G-Drive (<nowiki>https://drive.google.com/drive/folders/15TFIcpFH-cSB6A9dLB2S67dlmKPQybPB?usp=sharing</nowiki>, dead link)) - This is an essential part of working with UDIMs. You cannot bake all UDIM tiles with regular '''Bake''' button in Blender. So this addon brings the ability to bake all UDIM tiles with just one click.


But the '''main''' issue with UDIM is still ''exist'': does OniSplit support UDIM and can COLLADA geometry with UDIM UVs be imported into Oni correctly?
But the '''main''' issue with UDIM is still ''exist'': does OniSplit support UDIM and can COLLADA geometry with UDIM UVs be imported into Oni correctly?
Line 32: Line 32:
== TCTF HQ Railings ==
== TCTF HQ Railings ==
<br>
<br>
Yes... I'm still trying to do this. [https://drive.google.com/file/d/1RiNPURNjz5jjVK2GthJFFEnSNLB-Cvp4/view?usp=sharing Here] is the video that demonstrates Transparent Railings with new laser holders.
Yes... I'm still trying to do this. Here (<nowiki>https://drive.google.com/file/d/1RiNPURNjz5jjVK2GthJFFEnSNLB-Cvp4/view?usp=sharing</nowiki>, dead link) is the video that demonstrates Transparent Railings with new laser holders.
<br>
<br>
<br>
<br>
Line 40: Line 40:
== Some visual improvements ==
== Some visual improvements ==
<br>
<br>
[https://drive.google.com/file/d/1O7-_euRfRpHRky-07k1_MMBYqc0bedrO/view?usp=sharing Here] at 0:21 and 1:45 I can see some difference in character lighting. Directional light is much brighter than one that I have in Retail-version. And 'old' light has some different colors.<br>
Here (<nowiki>https://drive.google.com/file/d/1O7-_euRfRpHRky-07k1_MMBYqc0bedrO/view?usp=sharing</nowiki>, dead link) at 0:21 and 1:45 I can see some difference in character lighting. Directional light is much brighter than one that I have in Retail-version. And 'old' light has some different colors.<br>
1. '''''Brightness'''''. It can be easily fixed by typing smaller float values instead of the variable "''flat_lighting_amount''". It will ''affect'' ^_^ the '''ambient''' character lighting.<br>
1. '''''Brightness'''''. It can be easily fixed by typing smaller float values instead of the variable "''flat_lighting_amount''". It will ''affect'' ^_^ the '''ambient''' character lighting.<br>
2. '''''Colors'''''. For changing colors of Gouraud you'll need to change values of the "''light_DirectionalList[itr].color.'''*'''''" variables. '*' can be '''r''', '''g''' or '''b'''.
2. '''''Colors'''''. For changing colors of Gouraud you'll need to change values of the "''light_DirectionalList[itr].color.'''*'''''" variables. '*' can be '''r''', '''g''' or '''b'''.
Line 46: Line 46:
<br>
<br>
Here are some screens of my work:
Here are some screens of my work:
* [https://drive.google.com/file/d/1q5biaJxMfdNQii3dLqU-8EPrdO5HvOG3/view?usp=sharing 1], [https://drive.google.com/file/d/1lSRpcqu5zGm4GwiPZ82eHG_JSiHCgPIx/view?usp=sharing 2], [https://drive.google.com/file/d/1BkdaVRCi8hKRbJ-yQsFPmXXCuqUr-5Mz/view?usp=sharing 3] - these 3 screens also demonstrate successfully imported lightmaps (which were made with a help of GeySer).
* <nowiki>https://drive.google.com/file/d/1q5biaJxMfdNQii3dLqU-8EPrdO5HvOG3/view?usp=sharing</nowiki>, <nowiki>https://drive.google.com/file/d/1lSRpcqu5zGm4GwiPZ82eHG_JSiHCgPIx/view?usp=sharing</nowiki>, <nowiki>https://drive.google.com/file/d/1BkdaVRCi8hKRbJ-yQsFPmXXCuqUr-5Mz/view?usp=sharing</nowiki> (dead links) - these 3 screens also demonstrate successfully imported lightmaps (which were made with a help of GeySer).
* [https://drive.google.com/file/d/1gf6uG39cxmHTr3Mc7Ls_ZN9TryFu3Wjy/view?usp=sharing 4], [https://drive.google.com/file/d/1_fU0JoNk7OiOGqNcil6W4azKNy56wKww/view?usp=sharing 5] - these 2 screens show the main drawback of this lightmapping method: '''no''' colored lighting support. But the character lighting (Gouraud) looks <u>really</u> great ^_^!!!
* <nowiki>https://drive.google.com/file/d/1gf6uG39cxmHTr3Mc7Ls_ZN9TryFu3Wjy/view?usp=sharing</nowiki>, <nowiki>https://drive.google.com/file/d/1_fU0JoNk7OiOGqNcil6W4azKNy56wKww/view?usp=sharing</nowiki> (dead links) - these 2 screens show the main drawback of this lightmapping method: '''no''' colored lighting support. But the character lighting (Gouraud) looks <u>really</u> great ^_^!!!
<br>
<br>
<br>
<br>
I've added a new BSL function - ''gs_nearclipplane_set''. I need it, because some of my camera works are too close to the geometry, so glitches apear.<br>
I've added a new BSL function - ''gs_nearclipplane_set''. I need it, because some of my camera works are too close to the geometry, so glitches apear.<br>
Here is an example of usage of my BSL function (left - before, right - after):
Here is an example of usage of my BSL function (left - before, right - after):
[https://drive.google.com/file/d/1bXw5JbcOiN11-sCs78KjecgcB5HLLcIK/view?usp=sharing [Video<nowiki>]</nowiki>]
<nowiki>https://drive.google.com/file/d/1bXw5JbcOiN11-sCs78KjecgcB5HLLcIK/view?usp=sharing</nowiki> (dead link)
<br>
<br>
<br>
<br>
Line 66: Line 66:
<br>
<br>
<br>
<br>
The third and the most important thing is Radiosity (as it was said on GeySer's '[[Lightmapping_levels#Radiosity|lightmapping levels]]' page). I do ''not'' use old Blender for Radiosity calculations, because it has some big limitations. I use '''Autodesk 3D Studio''' for Radiosity calculations, because its implementation of '''''Progressive Refinement Radiosity renderer''''' is much more ''flexible'' than Blender's. Originally, Progressive Refinement Radiosity renderer was introduced in '''''LightScape Visualization System (1995)''''' ([https://drive.google.com/file/d/152tyyIJ5UH6zftzMhGhf9SK51Xjw9d4G/view?usp=sharing here] is a demo of LightScape), but after some time LightScape VS became an Autodesk's product and was discountinued. All its Radiosity techniques were transfered to 3D Studio <u>VIZ</u> (later, to a <u>regular</u> 3D Studio), so for now '''3D Studio 2011''' is my choice ^_^.
The third and the most important thing is Radiosity (as it was said on GeySer's '[[Lightmapping_levels#Radiosity|lightmapping levels]]' page). I do ''not'' use old Blender for Radiosity calculations, because it has some big limitations. I use '''Autodesk 3D Studio''' for Radiosity calculations, because its implementation of '''''Progressive Refinement Radiosity renderer''''' is much more ''flexible'' than Blender's. Originally, Progressive Refinement Radiosity renderer was introduced in '''''LightScape Visualization System (1995)''''' (here (<nowiki>https://drive.google.com/file/d/152tyyIJ5UH6zftzMhGhf9SK51Xjw9d4G/view?usp=sharing</nowiki>, dead link) is a demo of LightScape), but after some time LightScape VS became an Autodesk's product and was discountinued. All its Radiosity techniques were transfered to 3D Studio <u>VIZ</u> (later, to a <u>regular</u> 3D Studio), so for now '''3D Studio 2011''' is my choice ^_^.
<br>
<br>
<br>
<br>
Line 78: Line 78:
Here is the list of Oni-ready 3D-models, that I have:
Here is the list of Oni-ready 3D-models, that I have:
* Elevator Shaft - remodelled by GeySer from the film "Speed" (1994).
* Elevator Shaft - remodelled by GeySer from the film "Speed" (1994).
* [https://drive.google.com/file/d/1KryOT6Cm3cJT7su9T5GEOTJDcjXErgyN/view?usp=sharing Nissan Pathfinder R51] - remodelled by me from the "Sled" (russian detective TV-series, 2007-now).
* Nissan Pathfinder R51 (<nowiki>https://drive.google.com/file/d/1KryOT6Cm3cJT7su9T5GEOTJDcjXErgyN/view?usp=sharing</nowiki>, dead link) - remodelled by me from the "Sled" (russian detective TV-series, 2007-now).
* [https://drive.google.com/file/d/1p2jVGnsV20MJrMZpDPecjnf_V5rklFqM/view?usp=sharing Volvo S60 R-2005] - modelled by me from my father's car.
* Volvo S60 R-2005 (<nowiki>https://drive.google.com/file/d/1p2jVGnsV20MJrMZpDPecjnf_V5rklFqM/view?usp=sharing</nowiki>, dead link) - modelled by me from my father's car.
<br>
<br>
Not all links are available for now. I'm not sure, that I have any ability to share GeySer's "Elevator Shaft" 3D-model -_-. For now, only links to my models are available.
Not all links are available for now. I'm not sure, that I have any ability to share GeySer's "Elevator Shaft" 3D-model -_-. For now, only links to my models are available.
<br>
<br>
<br>
<br>
[https://drive.google.com/file/d/1n42fT9xiwvjYtd_PmG3OgVEDcVGtvFVU/view?usp=sharing Here] is a demo-video of Volvo S60 imported to Oni.
Here (<nowiki>https://drive.google.com/file/d/1n42fT9xiwvjYtd_PmG3OgVEDcVGtvFVU/view?usp=sharing</nowiki>, dead link) is a demo-video of Volvo S60 imported to Oni.
<br>
<br>
Engine was working on it's '''maximum''' abilities ^_^. The number of polygons is at least <u>'''9 000'''</u> for every part of the Volvo (''parts are'': RL, RR, FL and FR wheels, interior, exterior and steering wheel).
Engine was working on it's '''maximum''' abilities ^_^. The number of polygons is at least <u>'''9 000'''</u> for every part of the Volvo (''parts are'': RL, RR, FL and FR wheels, interior, exterior and steering wheel).
Line 100: Line 100:
<br>
<br>
All result images will be uploaded to my G-Drive in 7-Zip format with "Ultra" compression. 7-Zip will contain <u>uncompressed</u> TrueVision TGA images.<br>
All result images will be uploaded to my G-Drive in 7-Zip format with "Ultra" compression. 7-Zip will contain <u>uncompressed</u> TrueVision TGA images.<br>
[https://drive.google.com/file/d/1m8-Vq9Q37nV86EmjY9YaZi68tRLfa9cN/view?usp=sharing [Images<nowiki>]</nowiki>]
<nowiki>https://drive.google.com/file/d/1m8-Vq9Q37nV86EmjY9YaZi68tRLfa9cN/view?usp=sharing</nowiki> (dead link)
<br>
<br>
<br>
<br>

Revision as of 15:57, 25 July 2022

Hi! I'm just a 17 years old girl from Russia. I'm new to Oni Community, but I really love this game! Currently I'm trying to explore GeySer's lightmapping method with new software.

Second Objective ^_^ of my work is to change level geometry a bit (but it is not random changing). I'm trying to re-create look&feel of PRE-Beta levels, but this project is just starting right now (and not really successfully). The only improvement (not counting Lightmaps) that stays in Work-In-Progress stage is Transparent Railings in TCTF HQ (as here, in "The Atrium" section). When I'll finish it, I'll upload the resulting images and compressed 7-Zip file with level to my G-Drive (https://drive.google.com/drive/folders/15TFIcpFH-cSB6A9dLB2S67dlmKPQybPB?usp=sharing, dead link).

Mai X user page.png









GeySer's Lightmapping method


About GeySer's lightmapping method: Some links on his 'lightmap' page are dead. And files are lost forever. So there are some new links and features for lightmapping:

  • Global Illumination in Cycles (instead of original Radiosity) - this is new feature in Blender which uses emissive materials. We need it because Radiosity was removed from Blender since v2.50.
  • Multi-Tile UV or UDIM UV tutorial - UDIM UVs are used for applying multiple textures to one object with one UV channel. This technology can be used instead of Multi-Lighmapping script. That original Multi-Lightmapping script is gone.
  • UDIM Baker addon (also avaliable here (https://drive.google.com/file/d/17KTfyu3kDGb5jbg5k2Gql_1RXyMySzoV/view?usp=sharing, dead link), on my G-Drive (https://drive.google.com/drive/folders/15TFIcpFH-cSB6A9dLB2S67dlmKPQybPB?usp=sharing, dead link)) - This is an essential part of working with UDIMs. You cannot bake all UDIM tiles with regular Bake button in Blender. So this addon brings the ability to bake all UDIM tiles with just one click.

But the main issue with UDIM is still exist: does OniSplit support UDIM and can COLLADA geometry with UDIM UVs be imported into Oni correctly?


IMPORTANT!!! Remember to set up higher number of samples in Render section for good-looking lightmaps. But baking these images will take really long time!





TCTF HQ Railings


Yes... I'm still trying to do this. Here (https://drive.google.com/file/d/1RiNPURNjz5jjVK2GthJFFEnSNLB-Cvp4/view?usp=sharing, dead link) is the video that demonstrates Transparent Railings with new laser holders.




Some visual improvements


Here (https://drive.google.com/file/d/1O7-_euRfRpHRky-07k1_MMBYqc0bedrO/view?usp=sharing, dead link) at 0:21 and 1:45 I can see some difference in character lighting. Directional light is much brighter than one that I have in Retail-version. And 'old' light has some different colors.
1. Brightness. It can be easily fixed by typing smaller float values instead of the variable "flat_lighting_amount". It will affect ^_^ the ambient character lighting.
2. Colors. For changing colors of Gouraud you'll need to change values of the "light_DirectionalList[itr].color.*" variables. '*' can be r, g or b.

Here are some screens of my work:

  • https://drive.google.com/file/d/1q5biaJxMfdNQii3dLqU-8EPrdO5HvOG3/view?usp=sharing, https://drive.google.com/file/d/1lSRpcqu5zGm4GwiPZ82eHG_JSiHCgPIx/view?usp=sharing, https://drive.google.com/file/d/1BkdaVRCi8hKRbJ-yQsFPmXXCuqUr-5Mz/view?usp=sharing (dead links) - these 3 screens also demonstrate successfully imported lightmaps (which were made with a help of GeySer).
  • https://drive.google.com/file/d/1gf6uG39cxmHTr3Mc7Ls_ZN9TryFu3Wjy/view?usp=sharing, https://drive.google.com/file/d/1_fU0JoNk7OiOGqNcil6W4azKNy56wKww/view?usp=sharing (dead links) - these 2 screens show the main drawback of this lightmapping method: no colored lighting support. But the character lighting (Gouraud) looks really great ^_^!!!



I've added a new BSL function - gs_nearclipplane_set. I need it, because some of my camera works are too close to the geometry, so glitches apear.
Here is an example of usage of my BSL function (left - before, right - after): https://drive.google.com/file/d/1bXw5JbcOiN11-sCs78KjecgcB5HLLcIK/view?usp=sharing (dead link)



Some explanations about my 3D-software


Firstly, I use Avid|XSI 2015 (a.k.a. Autodesk Softimage, Softimage|XSI) for transfering 3D-models and geometry from OniSplit to other 3D-software. The main reason of XSI usage is that OniSplit-exported COLLADA files are not fully compatible with Blender (all versions). Blender's Cycles renderer makes every material black during importing process. Eevee renderer does nearly the same thing but it makes all materials white, so the Emission shader does not work neither in Cycles nor in Eevee. But only before the first 'save project' action. After re-opening the project, all materials become normal in Cycles and Eevee.

After re-exporting COLLADA from XSI, I import it to Blender v2.49. Yes, I'm still using this old version of Blender, because it has one very important (for me) feature, that newer versions do NOT have. It can divide geometry to meshes by materials. I need this feature, because I don't want light objects to be shaded or lighmapped as other regular objects.

The third and the most important thing is Radiosity (as it was said on GeySer's 'lightmapping levels' page). I do not use old Blender for Radiosity calculations, because it has some big limitations. I use Autodesk 3D Studio for Radiosity calculations, because its implementation of Progressive Refinement Radiosity renderer is much more flexible than Blender's. Originally, Progressive Refinement Radiosity renderer was introduced in LightScape Visualization System (1995) (here (https://drive.google.com/file/d/152tyyIJ5UH6zftzMhGhf9SK51Xjw9d4G/view?usp=sharing, dead link) is a demo of LightScape), but after some time LightScape VS became an Autodesk's product and was discountinued. All its Radiosity techniques were transfered to 3D Studio VIZ (later, to a regular 3D Studio), so for now 3D Studio 2011 is my choice ^_^.

After calculating Radiosity solution, Rendering it To Texture and exporting all geometry to a COLLADA file, I import it into XSI (again 0_-). The explanation is simple: COLLADA from 3D Studio has some different implementation of tranparency parameter, so if I import 3D Studio's COLLADA directly to Oni, I'll get no visible object and evironment (only SkyBox ^_^). That's why Avid|XSI is my solution to everything. After exporting geometry from XSI, I can (finally) import it to Oni... Finally ;) !!!



My (and not only) 3D-models

Here is the list of Oni-ready 3D-models, that I have:

  • Elevator Shaft - remodelled by GeySer from the film "Speed" (1994).
  • Nissan Pathfinder R51 (https://drive.google.com/file/d/1KryOT6Cm3cJT7su9T5GEOTJDcjXErgyN/view?usp=sharing, dead link) - remodelled by me from the "Sled" (russian detective TV-series, 2007-now).
  • Volvo S60 R-2005 (https://drive.google.com/file/d/1p2jVGnsV20MJrMZpDPecjnf_V5rklFqM/view?usp=sharing, dead link) - modelled by me from my father's car.


Not all links are available for now. I'm not sure, that I have any ability to share GeySer's "Elevator Shaft" 3D-model -_-. For now, only links to my models are available.

Here (https://drive.google.com/file/d/1n42fT9xiwvjYtd_PmG3OgVEDcVGtvFVU/view?usp=sharing, dead link) is a demo-video of Volvo S60 imported to Oni.
Engine was working on it's maximum abilities ^_^. The number of polygons is at least 9 000 for every part of the Volvo (parts are: RL, RR, FL and FR wheels, interior, exterior and steering wheel).
Music from the video is GRABBAG.MID from Duke Nukem 3D, that was replayed by me (not completely) on my Casio Privia PX-130. You can see a "placeholder" at the end of the video. It means - "Coming Soon...".
Note: Motion Blur was added in After Effects during the Post-Production.



High-Resolution Oni Pictures

I have Intel Core i5 6300U, 16GB of RAM and some free time, so I can upscale some EPS or SVG pictures from Oni archives in 10 or 20 times.
All result images will be uploaded to my G-Drive in 7-Zip format with "Ultra" compression. 7-Zip will contain uncompressed TrueVision TGA images.
https://drive.google.com/file/d/1m8-Vq9Q37nV86EmjY9YaZi68tRLfa9cN/view?usp=sharing (dead link)



Modified BFW engine

I've finally added some new features to the engine.
For now there is the list of fully-implemented features:

  1. gs_nearclipplane_set (BSL command for near clipping plane control)
  2. 4096x4096 texture support (for GeySer's lightmapping method)
  3. pre-advanced lighting (lowered ambient light and adjusted gouraud light)
  4. gl_fog_disabled (BSL command for disabling fogging)
  5. record_sequence (BSL command for dumping a screen shots at every frame, eq to Ctrl+Alt+L)
  6. film_record (BSL command for FILM recording. When it is set to 1, it is eq to FKEY-9. When it is set to 0, it is eq to FKEY-10)
  7. fully-disabled mip-mapping (I just don't need it now)
  8. NoShade texture flag (the texture with this flag will not recieve any fog or shading. The same as AdditiveBlend texures, but without additive blending ^_^)



Here is the list of partially-working features:

  1. Holographic character lighting (special lighting and jitter effects, that can be activated via holographic_light command. The lighting affects only characters, but the jitter affects all objects, that have same transformation matrix with characters. I'm trying to implement reverse-translation effect for other objects, exept characters.)
  2. 8192x8192 texture support (experimental, too unstable on my ThinkPad X260, but on my Sony VAIO VGN-SR19VRN works just fine.)
  3. pseudo-smart TXAN (displays the first avaliable frame, when stop_texture command is set to 1. But when it is set to 0, every TXAN becomes regular TXAN).



That's all for now. My own version of BFW is simply called BFW-17 (Konoko's Edit). I'll upload the EXE to my G-Drive as soon as it will be possible. But my SRC will be avaliable only for GeySer -_-.



12:37, 24 November 2021 (CET)
Konoko.