issue with black spot when rendering custom wall lamp

This topic has been viewed 3937 times and has 1 replies
Thread status: Active
Still a problem with your graphic card? [img]http://www.sweethome3d.com/images/flags/en_small.gif[/img]
Post Reply New Topic
azgooon
Posts: 5
Joined: Wed May 06, 2020 7:57 pm
Country: United Kingdom

issue with black spot when rendering custom wall lamp

Post by azgooon »

Hi,

I am having a weird issue with my custom "outdoor lamp" I have created object of the lamp, imported it as all other objects previously, set materials to be "coloured" from outside and transparent from inside,
set up properties in PluginFurnitureCatalog.properties file to:

Code: Select all

name#29=Outdoor lamp
tags#29=Outdoor lamp
category#29=Lights
icon#29=/Outdoor lamp.png
model#29=/Outdoor lamp/Outdoor_lamp.obj
multiPartModel#29=true
width#29=30
depth#29=7
height#29=30
dropOnTopElevation#29=-1
movable#29=true
doorOrWindow#29=false
lightSourceX#29=15
lightSourceY#29=5.1
lightSourceZ#29=15
lightSourceColor#29=#6D7991
lightSourceDiameter#29=25
elevation#29=230
modelSize#29=285764


but unfortunately, no matter what I do I do get a black spot on my lamp which appears to be a source of the light (I think)

Image

I have been playing around with light properties but no matter what I do I cannot get rid of this black spot.

To make things easier I have also uploaded my obj file and can be downloaded here

I have also one question which perhaps is related to the initial problem... is source light completely "in sweet home 3d" functionality do I need a group or object within the file which will "act" like a light source? in a similar way as hinges for openings?

Any help will be greatly appreciated.
alaX
Posts: 73
Joined: Tue May 24, 2016 4:26 pm
Country: Poland

Re: issue with black spot when rendering custom wall lamp

Post by alaX »

The dark spot is where the light source intersects the surface. Your light source is too big and doesn't fit inside the lamp shade. Use smaller light source(4-5cm) and maybe more than one.
Post Reply New Topic

Who is online

Users browsing this forum: No registered users and 2 guests