Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 2 additions & 3 deletions irteus/irtgl.l
Original file line number Diff line number Diff line change
Expand Up @@ -460,7 +460,7 @@
((symbolp color)
(setq c (find-if #'(lambda (o) (eq (send o :name) color))
*face-colors*))
(if c (send c :diffuse) (warn "Color name not found ")))
(if c (send c :diffuse) (warn ";; Color name not found ~A~%" color)))
(t color)))
(unless v (setq v (float-vector 0.5 0.5 0.5)))
v))
Expand All @@ -470,8 +470,7 @@
(let (fc dif)
(when (setq fc (get abody :face-color))
(unless (vectorp fc)
(warn "transparent: body ~A param ~A face-color ~A~%" abody param fc)
(setq fc (find-color fc)))
(setq fc (find-color fc)))
(if (= (length fc) 3)
(setq fc
(concatenate float-vector fc #f(0))))
Expand Down
4 changes: 2 additions & 2 deletions irteus/irtglrgb.l
Original file line number Diff line number Diff line change
Expand Up @@ -1977,8 +1977,8 @@
:create :name :grey100
:diffuse #f(0.99609375 0.99609375 0.99609375))
(instance colormaterial
:create :name :DarkGrey
:diffuse #f(0.66015625 0.66015625 0.66015625))
:create :name :silver
:diffuse #f(0.75 0.75 0.75))
(instance colormaterial
:create :name :DarkGray
:diffuse #f(0.66015625 0.66015625 0.66015625))
Expand Down