POV-Ray : Newsgroups : povray.binaries.images : Coffee Mug : Re: Coffee Mug Server Time
20 Apr 2024 06:50:10 EDT (-0400)
  Re: Coffee Mug  
From: Alain Martel
Date: 29 Jun 2022 16:50:19
Message: <62bcbb0b$1@news.povray.org>
Le 2022-06-29 à 12:59, MichaelJF a écrit :
> Am 29.06.2022 um 12:42 schrieb Bald Eagle:
>> "Dave Blandston" <IsN### [at] protonmailch> wrote:
>>> This is a just-for-fun object. The image on the side of the mug is 
>>> from a .png
>>> image (also made with POV-Ray, of course) but the image is applied to 
>>> a thin box
>>> which is divided into lots of narrow segments that are wrapped around 
>>> the mug.
>>>
>>> Have an awesome day folks!
>>>
>>> Kind regards,
>>> Dave Blandston
>>
>> Very nice work - that looks like exactly the approach as Chris 
>> Colefax's "object
>> bender".
>>
>> http://www.oocities.org/ccolefax/index.html
>>
>> But ... why didn't you just uv-map it with cylindrical mapping?
>>
>> or a cylindrical warp
>>
>> https://wiki.povray.org/content/Reference:Warp
>>
> Yes, very nice indeed. But uv-mapping would need a mesh-object. With CSG 
> it will not work. With CSG an cylindrical image_map would display the 
> image at the inside of the cup too. If CSG was used, cutaway_texture may 
> be an option to avoid the repetition in the inside of the cup.
> 
> BTW a very nide inside of a coffee mug was posted 09/03/2002 by tincanman:
> 
>
http://news.povray.org/povray.binaries.scene-files/thread/%3C3d74cad9%241%40news.povray.org%3E/?ttop=437504&toff=850

> 
> 
> Best regards,
> Michael

You could apply a plain simple texture to the object used to remove the 
interior of the mug. That way, it'll prevent the image from showing on 
the inside.

Then, there are other primitives that support UV mapping beside mesh.
You could make the mug as a sor or lathe.


Post a reply to this message

Copyright 2003-2023 Persistence of Vision Raytracer Pty. Ltd.