Ocean question

Raylectron (https://Raylectron.com) is a 3D rendering engine for Trimble Sketchup (https://sketchup.com)
Post Reply
Mike
Posts: 56
Joined: Sun Oct 09, 2011 4:49 pm

Ocean question

Post by Mike »

How do I prevent having the ocean to show in my house :lol: :?: The basement is flooded :lol:
User avatar
Support
Site Admin
Posts: 3430
Joined: Sun Oct 02, 2011 10:49 am

Re: Ocean question

Post by Support »

Mike wrote: Fri Aug 23, 2024 12:45 am How do I prevent having the ocean to show in my house :lol: :?: The basement is flooded :lol:
:lol: @Okwa had the same problem. It's not a bug. To prevent this, draw a square/rectangle at ground level that covers the areas you don't want the ocean in. Right click its face and select "Intersect with model". Delete the parts that you don't want and keep the parts that you don't want the ocean there. Group these faces, create a new material, make it 100% white and 100% transparent and paint the group. These areas will no longer show the ocean. It doesn't have to be in a house, you can do the same anywhere outside as well.
Your support team.
https://SoftByteLabs.com
Mike
Posts: 56
Joined: Sun Oct 09, 2011 4:49 pm

Re: Ocean question

Post by Mike »

is worked perfectly, thanks :salute
Okwa
Posts: 881
Joined: Mon Feb 27, 2023 1:34 am

Re: Ocean question

Post by Okwa »

Mike wrote: Fri Aug 23, 2024 12:45 am How do I prevent having the ocean to show in my house :lol: :?: The basement is flooded :lol:
Be happy. In your case, it's just the basement. I flooded an entire airport. :lol:
Okwa
Posts: 881
Joined: Mon Feb 27, 2023 1:34 am

Re: Ocean question

Post by Okwa »

Support wrote: Fri Aug 23, 2024 1:36 am To prevent this, draw a square/rectangle at ground level that covers the areas you don't want the ocean in. Right click its face and select "Intersect with model". Delete the parts that you don't want and keep the parts that you don't want the ocean there. Group these faces, create a new material, make it 100% white and 100% transparent and paint the group. These areas will no longer show the ocean. It doesn't have to be in a house, you can do the same anywhere outside as well.
I would have needed that tip earlier. :P :lol:
User avatar
Support
Site Admin
Posts: 3430
Joined: Sun Oct 02, 2011 10:49 am

Re: Ocean question

Post by Support »

Okwa wrote: Sat Aug 24, 2024 1:17 am I would have needed that tip earlier. :P :lol:
I only thought of it after your entire airport got flooded :lol: but I forgot to mention it after I've made the fix :oops:
Your support team.
https://SoftByteLabs.com
Mike
Posts: 56
Joined: Sun Oct 09, 2011 4:49 pm

Re: Ocean question

Post by Mike »

Okwa wrote: Sat Aug 24, 2024 1:15 am
Mike wrote: Fri Aug 23, 2024 12:45 am How do I prevent having the ocean to show in my house :lol: :?: The basement is flooded :lol:
Be happy. In your case, it's just the basement. I flooded an entire airport. :lol:
:lol: :lol: :lol: So I've read.
Okwa
Posts: 881
Joined: Mon Feb 27, 2023 1:34 am

Re: Ocean question

Post by Okwa »

Support wrote: Sat Aug 24, 2024 1:45 am I only thought of it after your entire airport got flooded :lol: but I forgot to mention it after I've made the fix :oops:
:lol:

I have created two test images. Image one created without your tip, image two with. And yes, I know. The “water barrier” is not placed correctly. I did it that way on purpose. So you can see the difference very clearly. :D

@Mike
Attachments
Ocean test without.jpg
Ocean test without.jpg (652.65 KiB) Viewed 419 times
Ocean test with.jpg
Ocean test with.jpg (684.06 KiB) Viewed 419 times
User avatar
Support
Site Admin
Posts: 3430
Joined: Sun Oct 02, 2011 10:49 am

Re: Ocean question

Post by Support »

Okwa wrote: Sun Aug 25, 2024 1:22 am I have created two test images. Image one created without your tip, image two with. And yes, I know. The “water barrier” is not placed correctly. I did it that way on purpose. So you can see the difference very clearly. :D
oh wow, this first one looks NICE :salute but what's with the second one, the black??
Your support team.
https://SoftByteLabs.com
User avatar
Support
Site Admin
Posts: 3430
Joined: Sun Oct 02, 2011 10:49 am

Re: Ocean question

Post by Support »

@Okwa is that the shadow because your grass is below ground level?
Your support team.
https://SoftByteLabs.com
Mike
Posts: 56
Joined: Sun Oct 09, 2011 4:49 pm

Re: Ocean question

Post by Mike »

@Okwa Yes, that first one is nice, but the second one, you got a floating ocean, the laws of physics don't apply :lol: It looks really cool but and eye soar tho :shock:
Okwa
Posts: 881
Joined: Mon Feb 27, 2023 1:34 am

Re: Ocean question

Post by Okwa »

Support wrote: Sun Aug 25, 2024 1:26 am @Okwa is that the shadow because your grass is below ground level?
Yes, as you can see in the first image, the grass is partially below the waterline in the center of the image. I also placed the “water barrier”, i.e. the 100% transparent area, slightly above the waterline. Curiously, it still works. But in this way you can see the effect better.
BTW, the transparent area also causes the dark areas further in the background. :D
Mike wrote: Sun Aug 25, 2024 1:29 am @Okwa Yes, that first one is nice, but the second one, you got a floating ocean, the laws of physics don't apply :lol: It looks really cool but and eye soar tho :shock:
Many thanks. I know, but this is a particularly good way to see that Michael's tip works. :D

BTW, I recreated the airport, or rather the military area with spaceport that I had “flooded” during the first use of the ocean, with the “water barrier”. Since the corresponding model was extremely faulty, I also started to recreate it. In a way, this is still a WIP version. I'm not happy with the harbor on the left in the scene. I still have to come up with a solution.
Attachments
Camp Aner'i New.jpg
Camp Aner'i New.jpg (673.59 KiB) Viewed 412 times
User avatar
Support
Site Admin
Posts: 3430
Joined: Sun Oct 02, 2011 10:49 am

Re: Ocean question

Post by Support »

@Okwa The way the "water barrier" works is, if it is within 3mm or less from the ground plane, it will "punch a hole" in the ocean, otherwise the "water barrier" will be treated as any other geometry in the scene and since it's transparent, it becomes useless.

Yes, the harbor maybe too straight (squarish)? but it's a WIP and I know you'll make it way better. The whole thig is already very nice :salute
Your support team.
https://SoftByteLabs.com
Okwa
Posts: 881
Joined: Mon Feb 27, 2023 1:34 am

Re: Ocean question

Post by Okwa »

Support wrote: Sun Aug 25, 2024 12:48 pm
Yes, the harbor maybe too straight (squarish)? but it's a WIP and I know you'll make it way better. The whole thig is already very nice :salute
Too squarish, that's the right word.
I hope so. :)
User avatar
Support
Site Admin
Posts: 3430
Joined: Sun Oct 02, 2011 10:49 am

Re: Ocean question

Post by Support »

Okwa wrote: Mon Aug 26, 2024 8:40 am
Support wrote: Sun Aug 25, 2024 12:48 pm
Yes, the harbor maybe too straight (squarish)? but it's a WIP and I know you'll make it way better. The whole thig is already very nice :salute
Too squarish, that's the right word.
I hope so. :)
Well, I thought I had invented a word but didn't :lol:

Britannica Dictionary definition of SQUARISH. : Adjective: having a shape that is almost like a square.
Your support team.
https://SoftByteLabs.com
Post Reply