Remix:raymarcher

Remix:raymarcher

by KimiruHamiru

👁 53 ❤️ 4 ⭐ 3 🔄 0
Created: Dec 7, 2022 Last modified: Dec 8, 2022 Shared: Dec 7, 2022

Description

WASD, z/space, left/right 「レイマーチングのプログラムはオブジェクトの重なりを見せるのがかっこいい」と思ったので、そこが見やすくなるようなモデルにしました。 ロジックは、カメラの操作にまだ慣れていないため、あまり理解できていません。 思えば三葉レイ氏の動画 https://www.youtube.com/watch?v=4XeJEDuhyPs を見たのが、3D(再)入門のきっかけでした。 簡単ではないですがとても丁寧で詳しい動画なので、もしかしたら参考になる人もいるかも知れません。この動画の場合「球のみ」でモデルを作っているのがおもしろいです。「いろいろなモデル」を使ってみたい場合は「距離関数」について調べると良いかと思います。 turbowarpで動作が変化する点に関しては、オリジナルのプロジェクトの記述を無変更で採用しています。この仕組みについては、個人的には未調査です。 https://turbowarp.org/773185095 このプロジェクトに取り掛かろうと思ったのは、 "hand-painted" raymarcher by Failharold https://scratch.mit.edu/projects/748931181/ を見たのがきっかけです。「ランダムなスクリーン座標、レイマーチング」という文脈でフレーム落ちしないアニメーションが可能かも知れない」ということを考えるきっかけになりました。 プログラム自体は raymarcher by rdococ https://scratch.mit.edu/projects/748573951 を元にリミックスしています。「謎の隠れキャラクター(立方体)を見つけたのを、どうしても誰かに見せたくなった」とかいった(子供っぽい?)事情もなくもないです。 今回は実装していませんが、「このやり方、このレベルのモデル」という条件であれば、法線や光源の処理をリアルタイム処理することも可能(ネイティブScratch環境で、フレーム落ちせずに、何が表示されているか判別できそう)という感触はあります。

Project Details

Visibility
Visible
Comments
Enabled
Remixed From
Project #748573951
Original Project
Project #748573951

More Cool Projects

Project thumbnail
View Project

beat up more buttons remix remix 6x

by jakubko2010

Project thumbnail
View Project

Beat Up Bonzi Buddy 6

by everton_trader2

Project thumbnail
View Project

Plants vs. Zombies (PVZ) V1.4 [but random]

by lewing35488

Project thumbnail
View Project

Spiffy Pictures.EXE Buttons Extreme Edition (Button Z Event) LAST BUTTON

by leoprincipe04

Project thumbnail
View Project

Spiffy Pictures.exe Looks Comparison 2 remix

by Vinnie1

Project thumbnail
View Project

- can't smile without you - art -

by _-Galaxy_-

Project thumbnail
View Project

Negative Numbers Band 7

by Tomas999ASA

Project thumbnail
View Project

Beat Up Evil Wendy vwd remix

by jayjayy1809

Project thumbnail
View Project

(FIXED) Beat up Gus remix remix remix remix

by doddwell

Project thumbnail
View Project

NBBJSS (Version 0.9.2) but '?' boxes are hid away

by Vim2307

Project thumbnail
View Project

Beat Up Buttons (17)

by elevatorkoneecodise

Project thumbnail
View Project

Beat Up Scratch Cat (SORRY SCRATCH) remix-2

by cs1692937

Project thumbnail
View Project

Rock Blaster V1.0

by JosephFMS123

Project thumbnail
View Project

Make your own object invasion reloaded remix remix

by tpotfan1000000

Project thumbnail
View Project

Clicker Town v0.83

by Minion_dh

Project thumbnail
View Project

Square.io test

by AS_dev

Project thumbnail
View Project

Homecome - Creatures of the Night (Definitive Version)

by ArcanisHD

Project thumbnail
View Project

Barney Error Maker remix remix-2

by mazenmalekwael

Project thumbnail
View Project

beat up edward but its broken

by GarBear5738

Project thumbnail
View Project

Beat Up Andie!

by newmyles

Project thumbnail
View Project

Super Cube Miner 2.3.2 #2

by Mario_maker2_Fan

Project thumbnail
View Project

Five Nights at Freddy's 4

by TheFazbearGamer

Project thumbnail
View Project

Sonic.exe fnf test [Berry Engine V1.1] remix

by xxlltt

Project thumbnail
View Project

Everyone Fights Bad Scratchers (Add Round 2) (Short Version)

by -MyLittleDashie-