Download

Online

Gallery

Blog

  Index  | Recent Threads  | List Attachments  | Search
 Welcome Guest  |  Register  |  Login
Login Name  Password
 

Sweet Home 3D Forum



No member browsing this thread
Thread Status: Active
Total posts in this thread: 1
[ Jump to Last Post ]
Post new Thread
Author
Previous Thread This topic has been viewed 4534 times and has 0 replies Next Thread
enkonyito
Advanced Member




Joined: May 28, 2015
Post Count: 607
Status: Offline
Reply to this Post  Reply with Quote 
How to integrate a non-spherical light source into a piece of furniture?

Manually, it is possible to add a light panel to a piece of furniture in a 3D scene.

I would like to integrate a flat light source into a piece of furniture like the default Flat TV.
By adding the properties of the light source to those of the flat TV in the PluginFurnitureCatalog.properties file of the library created, the position is incorrectly taken into account during rendering.
name#1=Flat TV with light
category#1=Lights
icon#1=/Flat TV with light.png
model#1=/Flat TV with light/Flat%20TV%20with%20light.obj
multiPartModel#1=true
width#1=121
depth#1=30
height#1=79.3
movable#1=true
doorOrWindow#1=false
modelSize#1=30046
creator#1=eTeks & EnkoNyito
lightSourceX#1=60.5
lightSourceY#1=14
lightSourceZ#1=42.5
lightSourceColor#1=#919189
description#1=unviewable_TriangleMeshLight


What additional information should be added to the LightSource class for the position of a rectangular panel to be taken into account?
----------------------------------------
EnkoNyito
[Dec 14, 2020, 12:46:53 AM] Show Printable Version of Post    View Member Profile    Send Private Message [Link] Report threatening or abusive post: please login first  Go to top 
[ Jump to Last Post ]
Show Printable Version of Thread  Post new Thread

    Get Sweet Home 3D at SourceForge.net. Fast, secure and Free Open Source software downloads
   
© Copyright 2006-2024 eTeks - All rights reserved