an example program using OIIO's batched environment lookup

Aperta
#4,186 1 commento 0 reazioni 0 assegnatari Vedi su GitHub

I maintainer di solito rispondono entro 3 giorni

Nessuno ha ancora preso questa issue.

Valutazione

Difficoltà
5/5
Tempo stimato
Più di una settimana
Idoneità per principianti
20/100
Tipo di issue
Documentazione
Chiarezza
Da chiarire
Stato di attività
Ferma
Stack tecnologico
cpp

Direzione di ricerca

Inizia leggendo l'esempio zimt collegato e examples/rectilinear.cc, quindi individua quali parti dimostrano la ricerca batch di OIIO::environment. L'issue non indica alcun file OIIO né alcuna modifica richiesta; determina innanzitutto se questo esempio esterno debba diventare documentazione del progetto oppure un esempio nell'albero dei sorgenti. Il lavoro sarà considerato completato quando saranno concordati ambito e posizione e sarà poi disponibile un esempio documentato o integrato.

Scritto dal modello di indicizzazione a partire dal testo della issue.

Descrizione

I've worked my way into some of the texture system code and wrote an example program using the batched version of OIIO::environment. I found the OIIO documentation sufficient but terse, so I think others may find my program helpful - it consists largely of comments. At the same time I'm trying to promote my library zimt, which I use for the boilerplate code to deal with the workload with multithreaded SIMD code. It turns out that zimt and OIIO work together nicely, there is little friction due to argument passing. zimt produces and accepts SIMDized data with 16 lanes, OIIO handles these data as batches and uses it's own flavour of SIMD internally. To make the program even more fun, there's a bit of Imath quaternion magic to deal with the directional vectors. Have a look, the code is here

The program is even quite useful: it produces an arbitrarily oriented and sized rectilinear view of the environment. Comments welcome - and if you lot at OIIO don't appreciate posts like this, let me know and I'll not do it again.

Lingua principale
C++
Stelle
2.4k
Fork
727
Merge medio
4g 8h
PR unite (30g)
67

Preparare l'ambiente

Come iniziare

  1. Leggi tutta la issue e poi la guida ai contributi del progetto.
  2. Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
  3. Fai un fork del repository e lavora su un branch.
  4. Apri una pull request che faccia riferimento al numero della issue.

Altre issue di AcademySoftwareFoundation/OpenImageIO

Tutte le issue di AcademySoftwareFoundation/OpenImageIO

Issue simili

Altre issue su C++

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.