Comments (4)
Hello @chu65536 !
Are you having any specific trouble with this? What is the use case where you need to change the transform origin of a light source instead of the position?
from candle.
Hello @chu65536 ! Are you having any specific trouble with this? What is the use case where you need to change the transform origin of a light source instead of the position?
I've actually already discussed this a bit with the guys from SFML.
The objects in my project have an offset center around which they rotate. I, of course, could do this without shifting the origin point, but it would be much more difficult. In fact, I was able to do it without shifting the origin point.
Either way, it seems to make some sense. But the first time you encounter this, you become confused
from candle.
I think it would be nice to make this moment more intuitive. But I understand perfectly well that it already works in most cases and may not be worth the effort. In short, the problem can probably be closed
from candle.
Tbh, this project is now a bit old and I'm aware there are lots of pending improvements and updates. I've created a new issue (#38) to tackle a new release any moment in the future... I just hope for now is at least somehow useful.
Thanks for the feedback!
from candle.
Related Issues (19)
- Mutex Lock crash when initialising RadialLight when linking static library. HOT 5
- Can`t compile on Linux HOT 1
- Make include headers - PUBLIC HOT 2
- Add all .hpp files in CMakeLists.txt HOT 2
- Build when SFML as subdirectory
- Weird snap shadow glitch HOT 24
- Error building with `make` HOT 3
- Directed light not casting shadow at 90ΒΊ HOT 9
- M_PI is non-standard HOT 3
- Use of shaders
- setColor on RadialLight doesn't change color HOT 5
- #RadialLightFix deconstructor problem along with Access Violations HOT 1
- Are there ports to other langues? HOT 1
- Shadow display error HOT 1
- Why pointers instead of references? HOT 2
- Version 2.0 HOT 1
- Add Diego Arroyo as contributor HOT 2
- how can i run this on osx and ios HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
π Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google β€οΈ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from candle.