Giter VIP home page Giter VIP logo

Comments (12)

REDxEYE avatar REDxEYE commented on July 28, 2024

emissive polygons require correct rad file

from sourceio.

Cianez avatar Cianez commented on July 28, 2024

emissive polygons require correct rad file
You mean that there's no info about texlights in the compiled BSP? Where can I get this rad file?

from sourceio.

REDxEYE avatar REDxEYE commented on July 28, 2024

No, there is no light info in map. Only precompiled lightmaps

from sourceio.

Cianez avatar Cianez commented on July 28, 2024

No, there is no light info in map. Only precompiled lightmaps

That's true, although there's the info_texlights point entity that stores texture names and light amount data, which I believe it's how you get the light data from light and light_spot entities, right? I could be wrong, I'm just assuming.
immagine
I also thought that texlights contributed to the lightmap data. Apparently this isn't the case.

from sourceio.

REDxEYE avatar REDxEYE commented on July 28, 2024

Light polygons have no data about their brightness

from sourceio.

Cianez avatar Cianez commented on July 28, 2024

Light polygons have no data about their brightness

I just thought that somehow you could take the texture name from info_texlights, assign emissive to the corresponding material with the same name and use the RGB value as color and brightness for amount. I'm no programmer so that's why I'm asking you.
It's fine if you can't do that though. This plugin does wonders as is. 👍

from sourceio.

REDxEYE avatar REDxEYE commented on July 28, 2024

That's where rad file comes in. It contains emissive power for each texture

from sourceio.

Cianez avatar Cianez commented on July 28, 2024

That's where rad file comes in. It contains emissive power for each texture

How do you manage to import light data from light entities then? Also if we need this rad file, maybe we can just import it into Blender using your plugin if that's the case, I just don't know where to find it or how to generate it.

from sourceio.

REDxEYE avatar REDxEYE commented on July 28, 2024

I got rad file from my friend, who re-created it. But its not very accurate

from sourceio.

Cianez avatar Cianez commented on July 28, 2024

I got rad file from my friend, who re-created it. But its not very accurate

Do you mind sharing the process of creating one? I'm also trying to import a map of my own in Blender, which means I have all the project files, in case those are necessary. Also feel free to continue this in Discord if you don't want to go too much off-topic in here, my Discord name is the same as here but with no capital letters (cianez).

from sourceio.

REDxEYE avatar REDxEYE commented on July 28, 2024

You can join SourceIO discord server

from sourceio.

REDxEYE avatar REDxEYE commented on July 28, 2024

Found docs on rad files https://developer.valvesoftware.com/wiki/RAD_file

from sourceio.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.